diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-31 15:38:57 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-31 15:38:57 +0000 |
commit | 9d417556de94429896d5496190b15caac659597e (patch) | |
tree | 7805c0a7ebda588c84d7ec460bd51480fc5dd73f /src/sysdeps/trynbwaitall.c | |
parent | efebcb33cb89eeb5d583cf4c76eb3f0ab8dfea51 (diff) | |
download | skalibs-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/trynbwaitall.c')
-rw-r--r-- | src/sysdeps/trynbwaitall.c | 3 |
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> |