aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/signal.c
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-08 09:27:34 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-08 09:27:34 +0200
commitbae1d20e54efc3eb98c706a1192321e66d35ccac (patch)
tree30c75d2a778b4fea03969a57f406e0f339ec21ea /util-src/signal.c
parent2f6ae2f1fc422bfc04f66c939e708bc2aea82a27 (diff)
downloadprosody-bae1d20e54efc3eb98c706a1192321e66d35ccac.tar.gz
prosody-bae1d20e54efc3eb98c706a1192321e66d35ccac.zip
net, pposix, signal: Check for redefined defines, fix warnings.
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 9e6f6f63..9bbdb37e 100644
--- a/util-src/signal.c
+++ b/util-src/signal.c
@@ -26,7 +26,9 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <signal.h>
#include <stdlib.h>