diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-11 18:18:15 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-11 18:18:15 +0100 |
commit | 90fb851ec17058b03e400de70a464ca38e2569aa (patch) | |
tree | 483fb19b0ccb275128a527c89e5e64f3d50fbc4b | |
parent | b7e14e7b79a73f69044d91c6af6cf8b62e82437c (diff) |
include <sys/types.h> for types size_t, ssize_t etc
This makes sure xml.c in particular can be compiled without further
feature macros.
-rw-r--r-- | sfeed.c | 2 | ||||
-rw-r--r-- | sfeed_html.c | 2 | ||||
-rw-r--r-- | sfeed_opml_import.c | 2 | ||||
-rw-r--r-- | sfeed_plain.c | 2 | ||||
-rw-r--r-- | sfeed_web.c | 2 | ||||
-rw-r--r-- | sfeed_xmlenc.c | 2 | ||||
-rw-r--r-- | xml.c | 2 |
7 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <ctype.h> #include <err.h> #include <errno.h> diff --git a/sfeed_html.c b/sfeed_html.c index bdeb3dc..4abdcdf 100644 --- a/sfeed_html.c +++ b/sfeed_html.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <err.h> #include <stdio.h> #include <stdlib.h> diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index 46aed03..4c57b20 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <ctype.h> #include <err.h> #include <stdint.h> diff --git a/sfeed_plain.c b/sfeed_plain.c index e9e2446..4c69572 100644 --- a/sfeed_plain.c +++ b/sfeed_plain.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <ctype.h> #include <err.h> #include <locale.h> diff --git a/sfeed_web.c b/sfeed_web.c index a3ced63..95b8145 100644 --- a/sfeed_web.c +++ b/sfeed_web.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <ctype.h> #include <err.h> #include <stdint.h> diff --git a/sfeed_xmlenc.c b/sfeed_xmlenc.c index 4a5f12c..4d3c08f 100644 --- a/sfeed_xmlenc.c +++ b/sfeed_xmlenc.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <ctype.h> #include <err.h> #include <stdint.h> @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <ctype.h> #include <errno.h> #include <limits.h> |