aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/protoize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 5e42fba..ee1db6d 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -163,12 +163,16 @@ extern int link ();
extern int unlink ();
extern int access ();
extern int execvp ();
+/* In 2.6, try deleting these decls entirely since setjmp.h should
+ take care of them. */
+#ifndef __NeXT__
#ifndef setjmp
extern int setjmp ();
#endif
#ifndef longjmp
extern void longjmp ();
#endif
+#endif
#if 0 /* size_t from sys/types.h may fail to match GCC.
If so, we would get a warning from this. */