From 077907d49f0823e9b1cd79ed68aa02ce3f9a3862 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 16 Nov 2001 14:24:55 +0000 Subject: Don't include coff.h unless HAVE_COFF_H is defined. --- src/unexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unexec.c') 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 #ifdef MSDOS #if __DJGPP__ > 1 -- cgit v1.2.1