summaryrefslogtreecommitdiff
path: root/fmacros.h
diff options
context:
space:
mode:
authorDietmar Scheidl <dietmar.scheidl@dynatrace.com>2022-01-18 07:35:31 +0100
committerMichael Grunder <michael.grunder@gmail.com>2022-01-24 12:12:19 -0800
commitf2e8010d95cbc220f8a05c597f5a81ed2339f71c (patch)
treeb0d627b9999e64a50e64cb9c0367f321ad727861 /fmacros.h
parente73ab2f2329f33823cc89d1070dda8bfb1356bb0 (diff)
fix building on AIX and SunOS (#1031)
Diffstat (limited to 'fmacros.h')
-rw-r--r--fmacros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fmacros.h b/fmacros.h
index 3227faa..754a53c 100644
--- a/fmacros.h
+++ b/fmacros.h
@@ -1,8 +1,10 @@
#ifndef __HIREDIS_FMACRO_H
#define __HIREDIS_FMACRO_H
+#ifndef _AIX
#define _XOPEN_SOURCE 600
#define _POSIX_C_SOURCE 200112L
+#endif
#if defined(__APPLE__) && defined(__MACH__)
/* Enable TCP_KEEPALIVE */