Mercurial > emacs
changeset 31487:9af879dacd99
(SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last change to __NetBSD__.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 08 Sep 2000 09:23:57 +0000 |
parents | a3dc5f987e8f |
children | f66ae09a4d4c |
files | src/unexelf.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/unexelf.c Fri Sep 08 00:46:53 2000 +0000 +++ b/src/unexelf.c Fri Sep 08 09:23:57 2000 +0000 @@ -406,6 +406,7 @@ #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 @@ #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 @@ # 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>