aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/u.h')
-rw-r--r--include/u.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h
index e604d3af..3a25d01c 100644
--- a/include/u.h
+++ b/include/u.h
@@ -29,6 +29,9 @@ extern "C" {
# undef __LONG_LONG_SUPPORTED
# define __LONG_LONG_SUPPORTED
#endif
+#if defined(__AIX__)
+# define _XOPEN_SOURCE 1
+#endif
#define _LARGEFILE64_SOURCE 1
#define _FILE_OFFSET_BITS 64