changeset 3003:5a73d384f45e

* syssignal.h: Don't #include <signal.h> * alloc.c: #include <signal.h>, but before "config.h".
author Jim Blandy <jimb@redhat.com>
date Mon, 24 May 1993 02:32:33 +0000
parents 7274509e47a3
children 96a9c2369a0d
files src/alloc.c src/syssignal.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Mon May 24 02:12:13 1993 +0000
+++ b/src/alloc.c	Mon May 24 02:32:33 1993 +0000
@@ -17,6 +17,7 @@
 along with GNU Emacs; see the file COPYING.  If not, write to
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
+#include <signal.h>
 
 #include "config.h"
 #include "lisp.h"
--- a/src/syssignal.h	Mon May 24 02:12:13 1993 +0000
+++ b/src/syssignal.h	Mon May 24 02:32:33 1993 +0000
@@ -19,7 +19,11 @@
 
 #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