summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryaccept4.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-21 02:39:19 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-21 02:39:19 +0000
commitc20608b2b2cc91367ecc2d8fe5e4cc9d4b709285 (patch)
tree408fd3058dc014f2f233c743965ace04cd9ebdf4 /src/sysdeps/tryaccept4.c
parent31009f586a04251df0fb5853017ecfcaf70b307f (diff)
downloadskalibs-c20608b2b2cc91367ecc2d8fe5e4cc9d4b709285.tar.xz
next generation of the FreeBSD fix...
Diffstat (limited to 'src/sysdeps/tryaccept4.c')
-rw-r--r--src/sysdeps/tryaccept4.c8
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>