]> git.eshelyaron.com Git - emacs.git/commitdiff
(SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last change to __NetBSD__.
authorDave Love <fx@gnu.org>
Fri, 8 Sep 2000 09:25:16 +0000 (09:25 +0000)
committerDave Love <fx@gnu.org>
Fri, 8 Sep 2000 09:25:16 +0000 (09:25 +0000)
src/ChangeLog
src/unexelf.c

index f5414f09e7ba63dac0da2f0fdaba989a7435efd0..5e9690bd845f8b08104855f25fc6d4596175ff05 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-08  Dave Love  <fx@gnu.org>
+
+       * unexelf.c (SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last
+       change to __NetBSD__.
+
 2000-09-08  Kenichi Handa  <handa@etl.go.jp>
 
        * search.c (compile_pattern): Check the multibyteness of cached
index 7e298239a713038f9f3b0adc3b4e21c922aae568..1c534a6f2e2696b259c6945ce19400f22ced9108 100644 (file)
@@ -406,6 +406,7 @@ Filesz      Memsz       Flags       Align
 \f
 #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>