$NetBSD: patch-ad,v 1.2 2004/02/26 09:34:43 uebayasi Exp $ --- stdenv.h.orig 1995-05-30 13:13:53.000000000 +0200 +++ stdenv.h 2004-02-26 09:51:16.000000000 +0100 @@ -44,9 +44,7 @@ #include #include -#if REQUIRE_STAT || REQUIRE_IOCTL #include -#endif #if REQUIRE_IOCTL #include @@ -283,6 +281,7 @@ /* stdlib */ +#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) extern noreturn exit(int); extern noreturn abort(void); extern long strtol(const char *num, char **end, int base); @@ -290,6 +289,7 @@ void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *) ); +#endif /* setjmp */