diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-05 16:03:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-05 16:03:03 +0000 |
commit | b847b8cb851c195e1dd6a83c841f8a0222a20127 (patch) | |
tree | c81b0210c644e4b13555f5cb62924c945d04e54d /test-strcasestr.c | |
parent | e04ac9ea436206ec75a6e5b35b3e6ae11d294cae (diff) | |
download | mandoc-b847b8cb851c195e1dd6a83c841f8a0222a20127.tar.gz |
strcasestr() wants _GNU_SOURCE on Linux
Diffstat (limited to 'test-strcasestr.c')
-rw-r--r-- | test-strcasestr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test-strcasestr.c b/test-strcasestr.c index 2ffb420b..479ba913 100644 --- a/test-strcasestr.c +++ b/test-strcasestr.c @@ -1,3 +1,7 @@ +#if defined(__linux__) || defined(__MINT__) +# define _GNU_SOURCE /* strcasestr() */ +#endif + #include <string.h> int |