From: Eli Zaretskii Date: Fri, 16 Nov 2001 14:24:55 +0000 (+0000) Subject: Don't include coff.h unless HAVE_COFF_H is defined. X-Git-Tag: ttn-vms-21-2-B4~18487 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=077907d49f0823e9b1cd79ed68aa02ce3f9a3862;p=emacs.git Don't include coff.h unless HAVE_COFF_H is defined. --- diff --git a/src/ChangeLog b/src/ChangeLog index bf63cd1ccd8..b0ac320cffe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-11-16 Eli Zaretskii + + * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. + Required for ISC 4.1. + 2001-11-16 Eli Zaretskii * 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. #ifndef CANNOT_DUMP /* all rest of file! */ -#ifdef COFF +#if defined(COFF) && defined(HAVE_COFF_H) #include #ifdef MSDOS #if __DJGPP__ > 1