summaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index ca6f363..a4ff9b8 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -154,6 +154,7 @@ __extension__ typedef unsigned long long __u64;
#if defined __GLIBC__ || defined __UCLIBC__ \
|| defined __dietlibc__ || defined _NEWLIB_VERSION
+#define _XOPEN_SOURCE
#include <features.h>
#define HAVE_FEATURES_H
#include <stdint.h>