aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/libgcc/libgcc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/libgcc/libgcc2.c')
-rw-r--r--gnu/usr.bin/cc/libgcc/libgcc2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/libgcc/libgcc2.c b/gnu/usr.bin/cc/libgcc/libgcc2.c
index 9dcccbe3d011..55d9d6d75a51 100644
--- a/gnu/usr.bin/cc/libgcc/libgcc2.c
+++ b/gnu/usr.bin/cc/libgcc/libgcc2.c
@@ -1097,6 +1097,8 @@ __fixunssfsi (SFtype a)
Reult is negative if S1 is less than S2,
positive if S1 is greater, 0 if S1 and S2 are equal. */
+#include <sys/types.h>
+
int
__gcc_bcmp (s1, s2, size)
unsigned char *s1, *s2;
@@ -1318,6 +1320,9 @@ __bb_init_func (blocks)
/* frills for C++ */
#ifdef L_op_new
+
+#include <sys/types.h>
+
typedef void (*vfp)(void);
extern vfp __new_handler;