about summary refs log tree commit diff
path: root/signal
diff options
context:
space:
mode:
Diffstat (limited to 'signal')
-rw-r--r--signal/signal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/signal/signal.h b/signal/signal.h
index 9cf9218a6d..93058973a9 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -340,9 +340,11 @@ extern int sigignore __P ((int __sig));
 extern __sighandler_t sigset __P ((int __sig, __sighandler_t __disp));
 #endif
 
+#ifdef __USE_POSIX
 /* Some of the functions for handling signals in threaded programs must
    be defined here.  */
-#include <bits/sigthread.h>
+# include <bits/sigthread.h>
+#endif
 
 /* The following functions are used internally in the C library and in
    other code which need deep insights.  */