changeset 29650:2411aacca614

(toplevel) [COFF]: Include coff.h.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 14 Jun 2000 13:34:54 +0000
parents 43b4ecc0b133
children 31099bb76b6e
files src/unexec.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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.  */