aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--liberty.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/liberty.c b/liberty.c
index a3b8d27..4d27127 100644
--- a/liberty.c
+++ b/liberty.c
@@ -16,8 +16,13 @@
*
*/
-#define _POSIX_C_SOURCE 199309L
+#ifndef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 200112L
+#endif
+
+#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
+#endif
#include <stdio.h>
#include <stddef.h>