summaryrefslogtreecommitdiff
path: root/src/scripts.c
diff options
context:
space:
mode:
authorportix <none@none>2013-02-24 17:40:37 +0100
committerportix <none@none>2013-02-24 17:40:37 +0100
commit1b1b3a4b7c07dfda64ca044dd0666026d302964d (patch)
treeed1ca1f30922bc1fda8dd05b935b74409314306b /src/scripts.c
parentefe25785b5f01360afda8f9f1403c7bdc09fb387 (diff)
downloaddwb-1b1b3a4b7c07dfda64ca044dd0666026d302964d.zip
Define _POSIX_C_SOURCE >= 200112L in scripts.h, otherwise build fails if signal.h doesn't check for _XOPEN_EXTENDED
Diffstat (limited to 'src/scripts.c')
-rw-r--r--src/scripts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripts.c b/src/scripts.c
index b1b8c2ee..5aa3def9 100644
--- a/src/scripts.c
+++ b/src/scripts.c
@@ -17,6 +17,8 @@
*/
#define _XOPEN_SOURCE 600
+#define _POSIX_C_SOURCE 200112L
+
#include <stdio.h>
#include <ctype.h>
#include <string.h>