summaryrefslogtreecommitdiff
path: root/src/sysdeps
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-31 15:38:57 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-31 15:38:57 +0000
commit9d417556de94429896d5496190b15caac659597e (patch)
tree7805c0a7ebda588c84d7ec460bd51480fc5dd73f /src/sysdeps
parentefebcb33cb89eeb5d583cf4c76eb3f0ab8dfea51 (diff)
downloadskalibs-9d417556de94429896d5496190b15caac659597e.tar.xz
Add _GNU_SOURCE to trynbwaitall.c because glibc headers
don't define kill() with only _BSD_SOURCE. That's very disappointing from GNU.
Diffstat (limited to 'src/sysdeps')
-rw-r--r--src/sysdeps/trynbwaitall.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sysdeps/trynbwaitall.c b/src/sysdeps/trynbwaitall.c
index 0277ead..90a02e6 100644
--- a/src/sysdeps/trynbwaitall.c
+++ b/src/sysdeps/trynbwaitall.c
@@ -10,6 +10,9 @@
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
#include <sys/types.h>
#include <fcntl.h>