summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryppoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/tryppoll.c')
-rw-r--r--src/sysdeps/tryppoll.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sysdeps/tryppoll.c b/src/sysdeps/tryppoll.c
index 1502f2c..18f7615 100644
--- a/src/sysdeps/tryppoll.c
+++ b/src/sysdeps/tryppoll.c
@@ -1,9 +1,20 @@
/* ISC license. */
+#undef _POSIX_C_SOURCE
+#undef _XOPEN_SOURCE
+
+#ifndef _BSD_SOURCE
+#define _BSD_SOURCE
+#endif
+
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
+#ifndef _DEFAULT_SOURCE
+#define _DEFAULT_SOURCE
+#endif
+
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>