openbsd-ports/databases/redis/patches/patch-src_fmacros_h
dcoppa d638b6bf38 Update to redis-2.2.4
General consensus from interested people.
2011-04-11 07:54:49 +00:00

13 lines
324 B
Plaintext

$OpenBSD: patch-src_fmacros_h,v 1.1 2011/04/11 07:54:49 dcoppa Exp $
--- src/fmacros.h.orig Fri Apr 8 12:37:59 2011
+++ src/fmacros.h Fri Apr 8 12:38:11 2011
@@ -3,7 +3,7 @@
#define _BSD_SOURCE
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
#define _XOPEN_SOURCE 700
#else
#define _XOPEN_SOURCE