summaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1998-08-22 20:24:31 +0000
committertv <tv@NetBSD.org>1998-08-22 20:24:31 +0000
commite8efde1ec40a7e44ad3b07003ef7aa05c1899f7d (patch)
tree1cca211f566cdbbfbddf78a3966baa1d4f4aee57 /gnu/lib
parent5e20069f49f0d663910dc646b5a9c8012242e1a7 (diff)
For the benefit of gdb, include <sys/types.h> unconditionally.
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/bfd/bfd-h.sed6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/lib/bfd/bfd-h.sed b/gnu/lib/bfd/bfd-h.sed
index 2acc27dd569..7d0b6910a3a 100644
--- a/gnu/lib/bfd/bfd-h.sed
+++ b/gnu/lib/bfd/bfd-h.sed
@@ -1,11 +1,10 @@
-# $NetBSD: bfd-h.sed,v 1.1 1998/08/22 19:02:11 tv Exp $
+# $NetBSD: bfd-h.sed,v 1.2 1998/08/22 20:24:31 tv Exp $
# Preparse bfd.h such that it can be used on multiple machines.
s/@VERSION@/2.8.1/
/@wordsize@/{
i\
#if defined(__alpha__) || defined(__sparc__)\
-#include <sys/types.h>\
#define BFD_ARCH_SIZE 64\
#else\
#define BFD_ARCH_SIZE 32\
@@ -18,7 +17,8 @@ s/@VERSION@/2.8.1/
#define BFD_HOST_64BIT_LONG 1\
#else\
#define BFD_HOST_64BIT_LONG 1\
-#endif
+#endif\
+#include <sys/types.h>
d
}
s/@BFD_HOST_64_BIT_DEFINED@/1/