]> git.saurik.com Git - redis.git/blobdiff - src/fmacros.h
redis-trib: minor refactoring creating a method to load the cluster information start...
[redis.git] / src / fmacros.h
index 38f46482aa86a8ec5e15f999f009e21f3fc3e461..866a9afa816163dfc54415619367a5ea8759a59e 100644 (file)
@@ -3,7 +3,7 @@
 
 #define _BSD_SOURCE
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
 #define _XOPEN_SOURCE 700
 #else
 #define _XOPEN_SOURCE