diff options
| author | Eli Zaretskii | 2001-11-16 14:24:55 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-11-16 14:24:55 +0000 |
| commit | 077907d49f0823e9b1cd79ed68aa02ce3f9a3862 (patch) | |
| tree | 1c8e0f149b692da3f9b7aa6705bd7cb5a806af88 /src | |
| parent | 038eed72fd6cadccfdeefcff653863144e251ee5 (diff) | |
| download | emacs-077907d49f0823e9b1cd79ed68aa02ce3f9a3862.tar.gz emacs-077907d49f0823e9b1cd79ed68aa02ce3f9a3862.zip | |
Don't include coff.h unless HAVE_COFF_H is defined.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/unexec.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bf63cd1ccd8..b0ac320cffe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. | ||
| 4 | Required for ISC 4.1. | ||
| 5 | |||
| 1 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> | 6 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 7 | ||
| 3 | * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by | 8 | * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by |
diff --git a/src/unexec.c b/src/unexec.c index fb00c27e54b..7c51f705c6f 100644 --- a/src/unexec.c +++ b/src/unexec.c | |||
| @@ -171,7 +171,7 @@ pointer looks like an int) but not on all machines. | |||
| 171 | 171 | ||
| 172 | #ifndef CANNOT_DUMP /* all rest of file! */ | 172 | #ifndef CANNOT_DUMP /* all rest of file! */ |
| 173 | 173 | ||
| 174 | #ifdef COFF | 174 | #if defined(COFF) && defined(HAVE_COFF_H) |
| 175 | #include <coff.h> | 175 | #include <coff.h> |
| 176 | #ifdef MSDOS | 176 | #ifdef MSDOS |
| 177 | #if __DJGPP__ > 1 | 177 | #if __DJGPP__ > 1 |