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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysdeps/tryaccept4.c b/src/sysdeps/tryaccept4.c
index 98a75e6..ea3baaa 100644
--- a/src/sysdeps/tryaccept4.c
+++ b/src/sysdeps/tryaccept4.c
@@ -11,6 +11,10 @@
#define _GNU_SOURCE
#endif
+#ifndef _DEFAULT_SOURCE
+#define _DEFAULT_SOURCE
+#endif
+
#include <sys/socket.h>
#include <sys/stat.h>
#include <fcntl.h>