diff options
Diffstat (limited to 'mbone/vat/patches/patch-af')
-rw-r--r-- | mbone/vat/patches/patch-af | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/mbone/vat/patches/patch-af b/mbone/vat/patches/patch-af index 1dee7a93d57..4aa98005dcf 100644 --- a/mbone/vat/patches/patch-af +++ b/mbone/vat/patches/patch-af @@ -1,22 +1,37 @@ -$NetBSD: patch-af,v 1.2 1998/08/07 11:10:04 agc Exp $ +$NetBSD: patch-af,v 1.3 2000/03/13 13:17:15 bouyer Exp $ ---- config.h.freebsd Thu May 16 14:27:06 1996 -+++ config.h Thu Nov 20 13:35:24 1997 -@@ -36,7 +36,7 @@ +--- config.h.orig Thu May 16 14:27:06 1996 ++++ config.h Mon Mar 13 12:10:22 2000 +@@ -36,8 +36,13 @@ #ifndef vic_config_h #define vic_config_h -#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__) -+#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) ++#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__svr4__) #include <sys/types.h> ++#if defined(__svr4__) ++typedef uint8_t u_int8_t; ++typedef uint16_t u_int16_t; ++typedef uint32_t u_int32_t; ++#endif #elif defined(linux) #include <sys/bitypes.h> -@@ -83,7 +83,7 @@ + #else +@@ -57,7 +62,7 @@ + typedef int int32_t; + #endif + +-#if defined(sun)||defined(_AIX) ++#if defined(_AIX) + #if defined(__cplusplus) + extern "C" { + #endif +@@ -83,7 +88,7 @@ #include <arpa/inet.h> int strcasecmp(const char *, const char *); clock_t clock(void); -#if !defined(sco) && !defined(sgi) && !defined(__bsdi__) && !defined(__FreeBSD__) -+#if !defined(sco) && !defined(sgi) && !defined(__bsdi__) && !defined(__FreeBSD__) && !defined(__NetBSD__) ++#if !defined(sco) && !defined(sgi) && !defined(__bsdi__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__svr4__) int gethostid(void); #endif time_t time(time_t *); |