From 2cc0eec6ccb3559ccf7d40087f9b764e75a5e702 Mon Sep 17 00:00:00 2001 From: leitner Date: Sun, 17 Dec 2017 10:23:48 +0000 Subject: [PATCH] #define _POSIX_SOURCE for FreeBSD --- socket/socket_sctp6b.c | 1 + socket/socket_tcp6b.c | 1 + socket/socket_udp6.c | 1 + 3 files changed, 3 insertions(+) diff --git a/socket/socket_sctp6b.c b/socket/socket_sctp6b.c index 8995eb8..9e107e4 100644 --- a/socket/socket_sctp6b.c +++ b/socket/socket_sctp6b.c @@ -1,3 +1,4 @@ +#define _POSIX_SOURCE #include #ifndef __MINGW32__ #include diff --git a/socket/socket_tcp6b.c b/socket/socket_tcp6b.c index 2910212..f563b5b 100644 --- a/socket/socket_tcp6b.c +++ b/socket/socket_tcp6b.c @@ -1,3 +1,4 @@ +#define _POSIX_SOURCE #include #ifndef __MINGW32__ #include diff --git a/socket/socket_udp6.c b/socket/socket_udp6.c index 72b3971..b34df7f 100644 --- a/socket/socket_udp6.c +++ b/socket/socket_udp6.c @@ -1,3 +1,4 @@ +#define _POSIX_SOURCE #include #ifndef __MINGW32__ #include