aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/signal.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-01 22:27:11 +0100
committerKim Alvefur <zash@zash.se>2017-03-01 22:27:11 +0100
commitd205c783278eea95143aa95443803c16882c3f5b (patch)
tree9fcc5ce42e89c795a0f5012b1a84aea1c0123973 /util-src/signal.c
parentf637fde31f2a8c06819001b6d2b1766a51dd8cb2 (diff)
downloadprosody-d205c783278eea95143aa95443803c16882c3f5b.tar.gz
prosody-d205c783278eea95143aa95443803c16882c3f5b.zip
util.pposix, configure: Move _GNU_SOURCE macro into source files
Diffstat (limited to 'util-src/signal.c')
-rw-r--r--util-src/signal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util-src/signal.c b/util-src/signal.c
index a083df54..2cf68800 100644
--- a/util-src/signal.c
+++ b/util-src/signal.c
@@ -26,6 +26,8 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
+#define _POSIX_C_SOURCE 200809L
+
#include <signal.h>
#include <stdlib.h>