summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-11 00:05:29 -0400
committermidipix <writeonce@midipix.org>2016-05-11 00:13:43 -0400
commit3be73d5188b49d43edfc2bd80dca3d06063b34a3 (patch)
tree4e01adb0671ac89dfa348571742f9ae14a9266d1 /include
parent81a7e93e6da51554a2378a13f90239629aaa206a (diff)
downloaddalist-3be73d5188b49d43edfc2bd80dca3d06063b34a3.tar.bz2
dalist-3be73d5188b49d43edfc2bd80dca3d06063b34a3.tar.xz
project: dalist_env.h: provide a fallback _XOPEN_SOURCE definition.
Diffstat (limited to 'include')
-rw-r--r--include/dalist/dalist_env.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dalist/dalist_env.h b/include/dalist/dalist_env.h
index 2f2b57a..8c8ab0f 100644
--- a/include/dalist/dalist_env.h
+++ b/include/dalist/dalist_env.h
@@ -7,6 +7,10 @@
#else
+#ifndef _XOPEN_SOURCE
+#define _XOPEN_SOURCE 500
+#endif
+
#include <stdint.h>
#include <stdio.h>
#include <errno.h>