diff options
Diffstat (limited to 'net/haproxy/patches/patch-src_sock.c')
-rw-r--r-- | net/haproxy/patches/patch-src_sock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/haproxy/patches/patch-src_sock.c b/net/haproxy/patches/patch-src_sock.c index 91c445e8dbc..eeea0b6d63c 100644 --- a/net/haproxy/patches/patch-src_sock.c +++ b/net/haproxy/patches/patch-src_sock.c @@ -1,10 +1,10 @@ -$NetBSD: patch-src_sock.c,v 1.1 2020/12/06 17:42:28 otis Exp $ +$NetBSD: patch-src_sock.c,v 1.2 2020/12/10 09:34:21 jperkin Exp $ Special handling for XPG4_2 on SunOS. --- src/sock.c.orig 2020-11-28 15:51:33.000000000 +0000 +++ src/sock.c -@@ -11,6 +11,14 @@ +@@ -11,6 +11,13 @@ */ #define _GNU_SOURCE @@ -14,7 +14,6 @@ Special handling for XPG4_2 on SunOS. +# else +#define _XOPEN_SOURCE 600 +# endif -+#define _XOPEN_SOURCE_EXTENDED 1 +#endif #include <ctype.h> #include <errno.h> |