aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/signal.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-11 16:41:23 +0100
committerKim Alvefur <zash@zash.se>2017-03-11 16:41:23 +0100
commitbde567fd42b357fb11ffdbf0e8d2821b1538b213 (patch)
treee441deafc9443acca92d4d08856350a6158cbccc /util-src/signal.c
parent384687ffa49ac61dddb91be1ec5de1572ba2c036 (diff)
downloadprosody-bde567fd42b357fb11ffdbf0e8d2821b1538b213.tar.gz
prosody-bde567fd42b357fb11ffdbf0e8d2821b1538b213.zip
util.signal: Restore non-standard GNU "default" behaviour of signal(2)
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 2cf68800..eb3efd66 100644
--- a/util-src/signal.c
+++ b/util-src/signal.c
@@ -26,7 +26,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define _POSIX_C_SOURCE 200809L
+#define _DEFAULT_SOURCE
#include <signal.h>
#include <stdlib.h>