summaryrefslogtreecommitdiff
path: root/src/sysdeps/trylsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trylsock.c')
-rw-r--r--src/sysdeps/trylsock.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/sysdeps/trylsock.c b/src/sysdeps/trylsock.c
index b5b4413..7e3b501 100644
--- a/src/sysdeps/trylsock.c
+++ b/src/sysdeps/trylsock.c
@@ -4,19 +4,14 @@
#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>
int main (void)