about summary refs log tree commit diff
path: root/support/xsignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/xsignal.h')
-rw-r--r--support/xsignal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/xsignal.h b/support/xsignal.h
index 973f532495..d868bb336c 100644
--- a/support/xsignal.h
+++ b/support/xsignal.h
@@ -28,7 +28,9 @@ __BEGIN_DECLS
    terminate the process on error.  */
 
 void xraise (int sig);
+#ifdef _GNU_SOURCE
 sighandler_t xsignal (int sig, sighandler_t handler);
+#endif
 void xsigaction (int sig, const struct sigaction *newact,
                  struct sigaction *oldact);