summaryrefslogtreecommitdiffstats
path: root/contrib/mdocml/config.h.pre
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mdocml/config.h.pre')
-rw-r--r--contrib/mdocml/config.h.pre9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/mdocml/config.h.pre b/contrib/mdocml/config.h.pre
new file mode 100644
index 0000000..1c3940d
--- /dev/null
+++ b/contrib/mdocml/config.h.pre
@@ -0,0 +1,9 @@
+#ifndef MANDOC_CONFIG_H
+#define MANDOC_CONFIG_H
+
+#if defined(__linux__) || defined(__MINT__)
+# define _GNU_SOURCE /* getsubopt(), strcasestr(), strptime() */
+#endif
+
+#include <sys/types.h>
+#include <stdio.h>
OpenPOWER on IntegriCloud