summaryrefslogtreecommitdiff
path: root/src/unexec.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-11-16 14:24:55 +0000
committerEli Zaretskii <eliz@gnu.org>2001-11-16 14:24:55 +0000
commit077907d49f0823e9b1cd79ed68aa02ce3f9a3862 (patch)
tree1c8e0f149b692da3f9b7aa6705bd7cb5a806af88 /src/unexec.c
parent038eed72fd6cadccfdeefcff653863144e251ee5 (diff)
downloademacs-077907d49f0823e9b1cd79ed68aa02ce3f9a3862.tar.gz
Don't include coff.h unless HAVE_COFF_H is defined.
Diffstat (limited to 'src/unexec.c')
-rw-r--r--src/unexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unexec.c b/src/unexec.c
index fb00c27e54b..7c51f705c6f 100644
--- a/src/unexec.c
+++ b/src/unexec.c
@@ -171,7 +171,7 @@ pointer looks like an int) but not on all machines.
#ifndef CANNOT_DUMP /* all rest of file! */
-#ifdef COFF
+#if defined(COFF) && defined(HAVE_COFF_H)
#include <coff.h>
#ifdef MSDOS
#if __DJGPP__ > 1