From: antirez Date: Thu, 29 Sep 2011 08:20:03 +0000 (+0200) Subject: Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/0cae060a26745e1cb06700f7878ffe647db8ddd4 Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in 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