comparison src/unexec.c @ 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 a805d5d9bc7e
children 00a2b39fce69
comparison
equal deleted inserted replaced
41143:f1315eeb4c0b 41144:b6ca9b64ce9f
169 #define PERROR(file) report_error (file, new) 169 #define PERROR(file) report_error (file, new)
170 #endif 170 #endif
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
178 #include <fcntl.h> /* for O_RDONLY, O_RDWR */ 178 #include <fcntl.h> /* for O_RDONLY, O_RDWR */
179 #include <crt0.h> /* for _crt0_startup_flags and its bits */ 179 #include <crt0.h> /* for _crt0_startup_flags and its bits */