diff options
author | Dave Love <fx@gnu.org> | 2000-09-08 09:25:16 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-09-08 09:25:16 +0000 |
commit | 6b7d4ae4d19324a0e25735d8a055c3be8a262036 (patch) | |
tree | 25a505f712228e645bcadeb5ab8317a1490f491b /src/unexelf.c | |
parent | cf69b13e0576696e4e1f91dfaca38e9fd47ca404 (diff) | |
download | emacs-6b7d4ae4d19324a0e25735d8a055c3be8a262036.tar.gz |
(SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last change to __NetBSD__.
Diffstat (limited to 'src/unexelf.c')
-rw-r--r-- | src/unexelf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unexelf.c b/src/unexelf.c index 7e298239a71..1c534a6f2e2 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -406,6 +406,7 @@ Filesz Memsz Flags Align #ifndef emacs #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) +#include <string.h> #else #include <config.h> extern void fatal (char *, ...); @@ -415,7 +416,6 @@ extern void fatal (char *, ...); #include <stdio.h> #include <sys/stat.h> #include <memory.h> -#include <string.h> #include <errno.h> #include <unistd.h> #include <fcntl.h> @@ -499,12 +499,12 @@ typedef struct { # define HDRR struct ecoff_symhdr # define pHDRR HDRR * # endif /* __alpha__ */ -#endif /* __NetBSD__ */ -#ifdef __mips__ /* was in pkgsrc patches for 20.7 */ +#ifdef __mips__ /* was in pkgsrc patches for 20.7 */ # define SHT_MIPS_DEBUG DT_MIPS_FLAGS # define HDRR struct Elf_Shdr #endif /* __mips__ */ +#endif /* __NetBSD__ */ #ifdef __OpenBSD__ # include <sys/exec_elf.h> |