aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/signal.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-12 12:49:34 +0100
committerKim Alvefur <zash@zash.se>2017-03-12 12:49:34 +0100
commitdf4695718555a55582503b8086d530241c2e1d0f (patch)
tree174525cd003bd50ff9565ba1015efe3aba254f15 /util-src/signal.c
parentbde567fd42b357fb11ffdbf0e8d2821b1538b213 (diff)
downloadprosody-df4695718555a55582503b8086d530241c2e1d0f.tar.gz
prosody-df4695718555a55582503b8086d530241c2e1d0f.zip
util.signal: Enable all GNU features, _DEFAULT_SOURCE doesn't have the desired effect before glibc 2.19
Diffstat (limited to 'util-src/signal.c')
-rw-r--r--util-src/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/signal.c b/util-src/signal.c
index eb3efd66..2268e11c 100644
--- a/util-src/signal.c
+++ b/util-src/signal.c
@@ -26,7 +26,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define _DEFAULT_SOURCE
+#define _GNU_SOURCE
#include <signal.h>
#include <stdlib.h>