]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't include coff.h unless HAVE_COFF_H is defined.
authorEli Zaretskii <eliz@gnu.org>
Fri, 16 Nov 2001 14:24:55 +0000 (14:24 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 16 Nov 2001 14:24:55 +0000 (14:24 +0000)
src/ChangeLog
src/unexec.c

index bf63cd1ccd82c320a93e3f8a6613650f514c2853..b0ac320cffe2b8d5715924e22484b1a994109e15 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-16  Eli Zaretskii  <eliz@gnu.org>
+
+       * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined.
+       Required for ISC 4.1.
+
 2001-11-16  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1.  Reported by
index fb00c27e54bc20df1fc3c640a7e442467af33bee..7c51f705c6f1ffe714c35feee28132da9d641c04 100644 (file)
@@ -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 <coff.h>
 #ifdef MSDOS
 #if __DJGPP__ > 1