diff options
| author | Jim Blandy | 1993-05-24 02:32:33 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-24 02:32:33 +0000 |
| commit | cf026b25cc6e6c25d115850217d99f586699d24c (patch) | |
| tree | bba214f40a07ae14dd3ea0716b0db795064660ed /src | |
| parent | 0b9be2e709b2d9bce133f9819ee2266ec8228665 (diff) | |
| download | emacs-cf026b25cc6e6c25d115850217d99f586699d24c.tar.gz emacs-cf026b25cc6e6c25d115850217d99f586699d24c.zip | |
* syssignal.h: Don't #include <signal.h>
* alloc.c: #include <signal.h>, but before "config.h".
Diffstat (limited to 'src')
| -rw-r--r-- | src/alloc.c | 1 | ||||
| -rw-r--r-- | src/syssignal.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 80ae29f62e6..48117d4e356 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -17,6 +17,7 @@ You should have received a copy of the GNU General Public License | |||
| 17 | along with GNU Emacs; see the file COPYING. If not, write to | 17 | along with GNU Emacs; see the file COPYING. If not, write to |
| 18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | 18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 19 | 19 | ||
| 20 | #include <signal.h> | ||
| 20 | 21 | ||
| 21 | #include "config.h" | 22 | #include "config.h" |
| 22 | #include "lisp.h" | 23 | #include "lisp.h" |
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. */ | |||
| 19 | 19 | ||
| 20 | #ifdef POSIX_SIGNALS | 20 | #ifdef POSIX_SIGNALS |
| 21 | 21 | ||
| 22 | #include <signal.h> | 22 | /* Don't #include <signal.h>. That header shouldalways be #included |
| 23 | before "config.h", because some configuration files (like s/hpux.h) | ||
| 24 | indicate that SIGIO doesn't work by #undef-ing SIGIO. If this file | ||
| 25 | #includes <signal.h>, then that will re-#define SIGIO and confuse | ||
| 26 | things. */ | ||
| 23 | 27 | ||
| 24 | #define SIGMASKTYPE sigset_t | 28 | #define SIGMASKTYPE sigset_t |
| 25 | 29 | ||