diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/unexec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unexec.c b/src/unexec.c index eebb8911caf..588ca15dac4 100644 --- a/src/unexec.c +++ b/src/unexec.c | |||
| @@ -171,6 +171,9 @@ pointer looks like an int) but not on all machines. | |||
| 171 | 171 | ||
| 172 | #ifndef CANNOT_DUMP /* all rest of file! */ | 172 | #ifndef CANNOT_DUMP /* all rest of file! */ |
| 173 | 173 | ||
| 174 | #ifdef COFF | ||
| 175 | #include <coff.h> | ||
| 176 | #else | ||
| 174 | #ifdef COFF_ENCAPSULATE | 177 | #ifdef COFF_ENCAPSULATE |
| 175 | int need_coff_header = 1; | 178 | int need_coff_header = 1; |
| 176 | #include <coff-encap/a.out.encap.h> /* The location might be a poor assumption */ | 179 | #include <coff-encap/a.out.encap.h> /* The location might be a poor assumption */ |
| @@ -205,6 +208,7 @@ struct aouthdr | |||
| 205 | #include <a.out.h> | 208 | #include <a.out.h> |
| 206 | #endif /* not MSDOS */ | 209 | #endif /* not MSDOS */ |
| 207 | #endif | 210 | #endif |
| 211 | #endif /* not COFF */ | ||
| 208 | 212 | ||
| 209 | /* Define getpagesize if the system does not. | 213 | /* Define getpagesize if the system does not. |
| 210 | Note that this may depend on symbols defined in a.out.h. */ | 214 | Note that this may depend on symbols defined in a.out.h. */ |