summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/osapi/modern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/profiles/osapi/modern.h b/profiles/osapi/modern.h
index 3ef51c8..3075dd6 100644
--- a/profiles/osapi/modern.h
+++ b/profiles/osapi/modern.h
@@ -276,6 +276,9 @@
#define __EXTENSIONS__ 1
#endif
+#ifndef _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
+#endif
#define _BSD_TYPES 1
#define _DARWIN_C_SOURCE 1
@@ -285,7 +288,6 @@
#define _NETBSD_SOURCE 1
#define _POSIX_C_SOURCE 200112L
#define _REENTRANT 1
-#define _XOPEN_SOURCE 600
#define _XOPEN_SOURCE_EXTENDED 1
#define __BSD_VISIBLE 1
#define __EXTENSIONS__ 1