From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Sat, 6 Apr 2013 16:25:26 +0200 Subject: [PATCH] Always #include corresponding .h in .c files In-Reply-To: <89c2c0065dbdd8362603802d6ecfb7c1ab6240d7.1365244679.git.john@keeping.me.uk> References: <89c2c0065dbdd8362603802d6ecfb7c1ab6240d7.1365244679.git.john@keeping.me.uk> Message-ID: Making this change also requires including stddef.h in html.h, lest there's a compiler error because size_t isn't defined. I'll fold this patch into yours and put it in wip. diff --git a/html.h b/html.h index b89cf94..bb36f37 100644 --- a/html.h +++ b/html.h @@ -1,6 +1,8 @@ #ifndef HTML_H #define HTML_H +#include + extern void html_raw(const char *txt, size_t size); extern void html(const char *txt);