changeset 41144:b6ca9b64ce9f

Don't include coff.h unless HAVE_COFF_H is defined.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 16 Nov 2001 14:23:51 +0000
parents f1315eeb4c0b
children 306572f2bcfe
files src/unexec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexec.c	Fri Nov 16 14:22:03 2001 +0000
+++ b/src/unexec.c	Fri Nov 16 14:23:51 2001 +0000
@@ -171,7 +171,7 @@
 
 #ifndef CANNOT_DUMP  /* all rest of file!  */
 
-#ifdef COFF
+#if defined(COFF) && defined(HAVE_COFF_H)
 #include <coff.h>
 #ifdef MSDOS
 #if __DJGPP__ > 1