summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-11 02:21:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-11 02:21:27 +0000
commit487a0333d2d9674139ee16d363f368f035cf4fdc (patch)
tree772190acb002399764cd52663c9a2e25f6085c07
parent366cac6f7c7c8f5e8186901d40f6854269f24add (diff)
downloadmandoc-487a0333d2d9674139ee16d363f368f035cf4fdc.tar.gz
revert previous; i missed that config.h needs sys/types.h and stdio.h
for itself because it uses size_t and FILE...
-rw-r--r--config.h.pre3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.pre b/config.h.pre
index 05f0485c..1c3940de 100644
--- a/config.h.pre
+++ b/config.h.pre
@@ -4,3 +4,6 @@
#if defined(__linux__) || defined(__MINT__)
# define _GNU_SOURCE /* getsubopt(), strcasestr(), strptime() */
#endif
+
+#include <sys/types.h>
+#include <stdio.h>