summaryrefslogtreecommitdiffstats
path: root/config.h.pre
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-05 16:03:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-05 16:03:03 +0000
commitb847b8cb851c195e1dd6a83c841f8a0222a20127 (patch)
treec81b0210c644e4b13555f5cb62924c945d04e54d /config.h.pre
parente04ac9ea436206ec75a6e5b35b3e6ae11d294cae (diff)
downloadmandoc-b847b8cb851c195e1dd6a83c841f8a0222a20127.tar.gz
strcasestr() wants _GNU_SOURCE on Linux
Diffstat (limited to 'config.h.pre')
-rw-r--r--config.h.pre2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h.pre b/config.h.pre
index 52a8159a..1c3940de 100644
--- a/config.h.pre
+++ b/config.h.pre
@@ -2,7 +2,7 @@
#define MANDOC_CONFIG_H
#if defined(__linux__) || defined(__MINT__)
-# define _GNU_SOURCE /* strptime(), getsubopt() */
+# define _GNU_SOURCE /* getsubopt(), strcasestr(), strptime() */
#endif
#include <sys/types.h>