aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/config.h.pre
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
commitf83aa17768d68d5034131b442e131541637a65b6 (patch)
treee6fd9e08600ae3a138b6bdd9f73101596293cf75 /config.h.pre
parent8871caf4707de7e47d9d43d5bd47044e3d2bba92 (diff)
downloadmandoc-f83aa17768d68d5034131b442e131541637a65b6.tar.gz
mandoc-f83aa17768d68d5034131b442e131541637a65b6.tar.zst
mandoc-f83aa17768d68d5034131b442e131541637a65b6.zip
revert previous; i missed that config.h needs sys/types.h and stdio.h
for itself because it uses size_t and FILE...
Diffstat (limited to 'config.h.pre')
-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>