about summary refs log tree commit diff
path: root/include/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h
index 89080ab6..b24f43a5 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -212,7 +212,7 @@ void (*sigset(int, void (*)(int)))(int);
 #define NSIG _NSIG
 #endif
 
-#ifdef _BSD_SOURCE
+#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
 typedef void (*sig_t)(int);
 #endif