about summary refs log tree commit homepage
path: root/cmogstored.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmogstored.h')
-rw-r--r--cmogstored.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmogstored.h b/cmogstored.h
index b9bc9b3..5e5b3e8 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -9,8 +9,12 @@
  */
 #include "config.h"
 #include "queue_kqueue.h"
+#ifndef _XOPEN_SOURCE
 #define _XOPEN_SOURCE 700
+#endif
+#ifndef _POSIX_C_SOURCE
 #define  _POSIX_C_SOURCE 200809L
+#endif
 #include <pthread.h>
 #include <sys/uio.h>
 #include <sys/mman.h>