summaryrefslogtreecommitdiff
path: root/config.h.pre
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.pre')
-rw-r--r--config.h.pre8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h.pre b/config.h.pre
new file mode 100644
index 000000000000..bc594784856c
--- /dev/null
+++ b/config.h.pre
@@ -0,0 +1,8 @@
+#ifndef MANDOC_CONFIG_H
+#define MANDOC_CONFIG_H
+
+#if defined(__linux__) || defined(__MINT__)
+# define _GNU_SOURCE /* strptime(), getsubopt() */
+#endif
+
+#include <stdio.h>