summaryrefslogtreecommitdiff
path: root/test/signal
diff options
context:
space:
mode:
Diffstat (limited to 'test/signal')
-rw-r--r--test/signal/signal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/signal/signal.c b/test/signal/signal.c
index 3b282e870..500eefbe3 100644
--- a/test/signal/signal.c
+++ b/test/signal/signal.c
@@ -23,7 +23,9 @@
*/
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>