summaryrefslogtreecommitdiff
path: root/src/sysdeps/trysplice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trysplice.c')
-rw-r--r--src/sysdeps/trysplice.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sysdeps/trysplice.c b/src/sysdeps/trysplice.c
index 7428418..8e8bd72 100644
--- a/src/sysdeps/trysplice.c
+++ b/src/sysdeps/trysplice.c
@@ -1,7 +1,9 @@
/* ISC license. */
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
-#include <sys/types.h>
+#endif
+
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>