summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-03-11 18:18:15 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-03-11 18:18:15 +0100
commit90fb851ec17058b03e400de70a464ca38e2569aa (patch)
tree483fb19b0ccb275128a527c89e5e64f3d50fbc4b
parentb7e14e7b79a73f69044d91c6af6cf8b62e82437c (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.c2
-rw-r--r--sfeed_html.c2
-rw-r--r--sfeed_opml_import.c2
-rw-r--r--sfeed_plain.c2
-rw-r--r--sfeed_web.c2
-rw-r--r--sfeed_xmlenc.c2
-rw-r--r--xml.c2
7 files changed, 14 insertions, 0 deletions
diff --git a/sfeed.c b/sfeed.c
index a811720..0e89cff 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -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>
diff --git a/xml.c b/xml.c
index bff793d..da66554 100644
--- a/xml.c
+++ b/xml.c
@@ -1,3 +1,5 @@
+#include <sys/types.h>
+
#include <ctype.h>
#include <errno.h>
#include <limits.h>