From 0cae060a26745e1cb06700f7878ffe647db8ddd4 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 29 Sep 2011 10:20:03 +0200 Subject: [PATCH] Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h --- src/fmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2