X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/af4e866dbb1455a50d51b3d5f46832f1a36e2080..115e3ff39e8cbf2f2e044fbd6c65c2e6602c537f:/src/fmacros.h diff --git a/src/fmacros.h b/src/fmacros.h index 38f46482..866a9afa 100644 --- a/src/fmacros.h +++ b/src/fmacros.h @@ -3,7 +3,7 @@ #define _BSD_SOURCE -#ifdef __linux__ +#if defined(__linux__) || defined(__OpenBSD__) #define _XOPEN_SOURCE 700 #else #define _XOPEN_SOURCE