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
commit1ea889fd172e633c5de06ee0e2c05ac1afd608c9 (patch)
tree174525cd003bd50ff9565ba1015efe3aba254f15 /util-src/signal.c
parent509f5da82d0d0e63ff57779c2f4fe176da0e716a (diff)
downloadprosody-1ea889fd172e633c5de06ee0e2c05ac1afd608c9.tar.gz
prosody-1ea889fd172e633c5de06ee0e2c05ac1afd608c9.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>