diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-21 02:39:19 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-21 02:39:19 +0000 |
commit | c20608b2b2cc91367ecc2d8fe5e4cc9d4b709285 (patch) | |
tree | 408fd3058dc014f2f233c743965ace04cd9ebdf4 /src/sysdeps/tryaccept4.c | |
parent | 31009f586a04251df0fb5853017ecfcaf70b307f (diff) | |
download | skalibs-c20608b2b2cc91367ecc2d8fe5e4cc9d4b709285.tar.xz |
next generation of the FreeBSD fix...
Diffstat (limited to 'src/sysdeps/tryaccept4.c')
-rw-r--r-- | src/sysdeps/tryaccept4.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/sysdeps/tryaccept4.c b/src/sysdeps/tryaccept4.c index e27eb1a..d6c462a 100644 --- a/src/sysdeps/tryaccept4.c +++ b/src/sysdeps/tryaccept4.c @@ -4,19 +4,15 @@ #undef _XOPEN_SOURCE #ifndef _XPG4_2 -# define _XPG4_2 +#define _XPG4_2 #endif #ifndef _GNU_SOURCE -# define _GNU_SOURCE +#define _GNU_SOURCE #endif #include <sys/types.h> -#if defined(__FreeBSD__) -# include <sys/param.h> -#endif - #include <sys/socket.h> #include <sys/stat.h> #include <fcntl.h> |