From fb6ebaa598f95629f91f41594e626012adaf0269 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 25 May 2018 16:33:22 +0200 Subject: Backport hiredis issue 525 fix to compile on FreeBSD. Close #4947. --- deps/hiredis/fmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deps/hiredis') diff --git a/deps/hiredis/fmacros.h b/deps/hiredis/fmacros.h index 14fed6060..9a56643df 100644 --- a/deps/hiredis/fmacros.h +++ b/deps/hiredis/fmacros.h @@ -13,7 +13,7 @@ #if defined(__sun__) #define _POSIX_C_SOURCE 200112L #else -#if !(defined(__APPLE__) && defined(__MACH__)) +#if !(defined(__APPLE__) && defined(__MACH__)) && !(defined(__FreeBSD__)) #define _XOPEN_SOURCE 600 #endif #endif -- cgit v1.2.1