diff src/unexec.c @ 29650:2411aacca614

(toplevel) [COFF]: Include coff.h.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 14 Jun 2000 13:34:54 +0000
parents 1f418e353dd7
children 1e6eeead2f1d
line wrap: on
line diff
--- a/src/unexec.c	Wed Jun 14 13:12:14 2000 +0000
+++ b/src/unexec.c	Wed Jun 14 13:34:54 2000 +0000
@@ -171,6 +171,9 @@
 
 #ifndef CANNOT_DUMP  /* all rest of file!  */
 
+#ifdef COFF
+#include <coff.h>
+#else
 #ifdef COFF_ENCAPSULATE
 int need_coff_header = 1;
 #include <coff-encap/a.out.encap.h> /* The location might be a poor assumption */
@@ -205,6 +208,7 @@
 #include <a.out.h>
 #endif /* not MSDOS */
 #endif
+#endif /* not COFF */
 
 /* Define getpagesize if the system does not.
    Note that this may depend on symbols defined in a.out.h.  */