Commit fb6ebaa5 authored by antirez's avatar antirez
Browse files

Backport hiredis issue 525 fix to compile on FreeBSD.

Close #4947.
parent fb9c1c3d
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#if defined(__sun__) #if defined(__sun__)
#define _POSIX_C_SOURCE 200112L #define _POSIX_C_SOURCE 200112L
#else #else
#if !(defined(__APPLE__) && defined(__MACH__)) #if !(defined(__APPLE__) && defined(__MACH__)) && !(defined(__FreeBSD__))
#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE 600
#endif #endif
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment