aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2001-11-16 14:24:55 +0000
committerEli Zaretskii2001-11-16 14:24:55 +0000
commit077907d49f0823e9b1cd79ed68aa02ce3f9a3862 (patch)
tree1c8e0f149b692da3f9b7aa6705bd7cb5a806af88 /src
parent038eed72fd6cadccfdeefcff653863144e251ee5 (diff)
downloademacs-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/ChangeLog5
-rw-r--r--src/unexec.c2
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 @@
12001-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
12001-11-16 Eli Zaretskii <eliz@is.elta.co.il> 62001-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