aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/fd_util.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-03-15 18:24:46 +0100
committerMax Kellermann <max@duempel.org>2014-03-15 18:27:09 +0100
commit7d353bbe2a70cd7894b1f5954a37e4a07890478d (patch)
tree9ac818eb495e5beee2412a0b3bb285d67fadc80a /src/system/fd_util.c
parent5696f91a1e5e0cd1022c60737465c29b429ea599 (diff)
downloadmpd-7d353bbe2a70cd7894b1f5954a37e4a07890478d.tar.gz
mpd-7d353bbe2a70cd7894b1f5954a37e4a07890478d.tar.xz
mpd-7d353bbe2a70cd7894b1f5954a37e4a07890478d.zip
configure.ac: always define _GNU_SOURCE on Linux
Make sure glibc gives us all features.
Diffstat (limited to '')
-rw-r--r--src/system/fd_util.c4
1 files changed, 0 insertions, 4 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>