summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryaccept4.c
diff options
context:
space:
mode:
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>