# HG changeset patch # User Eli Zaretskii # Date 1005920631 0 # Node ID b6ca9b64ce9f9844797e6019895db3e2e0293c47 # Parent f1315eeb4c0bdb64e24d02edc5be5f4c45189303 Don't include coff.h unless HAVE_COFF_H is defined. diff -r f1315eeb4c0b -r b6ca9b64ce9f src/unexec.c --- 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 #ifdef MSDOS #if __DJGPP__ > 1