]> git.saurik.com Git - redis.git/blobdiff - src/fmacros.h
Comments about security of slave-read-only in redis.coinf.
[redis.git] / src / fmacros.h
index 38f46482aa86a8ec5e15f999f009e21f3fc3e461..866a9afa816163dfc54415619367a5ea8759a59e 100644 (file)
@@ -3,7 +3,7 @@
 
 #define _BSD_SOURCE
 
 
 #define _BSD_SOURCE
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
 #define _XOPEN_SOURCE 700
 #else
 #define _XOPEN_SOURCE
 #define _XOPEN_SOURCE 700
 #else
 #define _XOPEN_SOURCE