summaryrefslogtreecommitdiff
path: root/src/syssignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syssignal.h')
-rw-r--r--src/syssignal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/syssignal.h b/src/syssignal.h
index 64a24e1e013..6a91f913568 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -19,7 +19,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef POSIX_SIGNALS
-#include <signal.h>
+/* Don't #include <signal.h>. That header shouldalways be #included
+ before "config.h", because some configuration files (like s/hpux.h)
+ indicate that SIGIO doesn't work by #undef-ing SIGIO. If this file
+ #includes <signal.h>, then that will re-#define SIGIO and confuse
+ things. */
#define SIGMASKTYPE sigset_t