summaryrefslogtreecommitdiff
path: root/src/sysdeps/trystrcasestr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trystrcasestr.c')
-rw-r--r--src/sysdeps/trystrcasestr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sysdeps/trystrcasestr.c b/src/sysdeps/trystrcasestr.c
index f362202..3c4efc4 100644
--- a/src/sysdeps/trystrcasestr.c
+++ b/src/sysdeps/trystrcasestr.c
@@ -3,6 +3,9 @@
#undef _POSIX_C_SOURCE
#undef _XOPEN_SOURCE
+#ifndef __EXTENSIONS__
+#define __EXTENSIONS__
+#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
@@ -12,6 +15,9 @@
#ifndef _NETBSD_SOURCE
#define _NETBSD_SOURCE
#endif
+#ifndef _INCOMPLETE_XOPEN_C063
+#define _INCOMPLETE_XOPEN_C063
+#endif
#include <string.h>