aboutsummaryrefslogtreecommitdiffstats
path: root/src/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/system/fd_util.c4
-rw-r--r--src/system/fd_util.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/system/fd_util.c b/src/system/fd_util.c
index 0e4b5663d..97ec5ba5e 100644
--- a/src/system/fd_util.c
+++ b/src/system/fd_util.c
@@ -29,10 +29,6 @@
#include "config.h" /* must be first for large file support */
#include "fd_util.h"
-#if !defined(_GNU_SOURCE) && (defined(HAVE_PIPE2) || defined(HAVE_ACCEPT4))
-#define _GNU_SOURCE
-#endif
-
#include <assert.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/src/system/fd_util.h b/src/system/fd_util.h
index b73a2012f..3c72890e1 100644
--- a/src/system/fd_util.h
+++ b/src/system/fd_util.h
@@ -42,10 +42,6 @@
#include <stddef.h>
#ifndef WIN32
-#if !defined(_GNU_SOURCE) && (defined(HAVE_PIPE2) || defined(HAVE_ACCEPT4))
-#define _GNU_SOURCE
-#endif
-
#include <sys/types.h>
#endif