$NetBSD: patch-aa,v 1.6 2013/07/21 12:28:32 shattered Exp $ - support Irix - check for _LP64 --- port.h.orig 2003-06-05 01:00:07.000000000 +0000 +++ port.h @@ -76,7 +76,7 @@ * Every other conceivable version of the BIND-based resolvers should have one * or both of __BIND and/or __NAMESER defined to define their API version. */ -#if !defined(__BIND) && !defined(__NAMESER) +#if !defined(__BIND) && !defined(__NAMESER) && !defined(IRIX5) # define BIND_4_8 1 /* XXX this should be ``#include "ERROR!!!"''*/ #endif @@ -236,7 +237,7 @@ typedef u_char nbuf_t; #endif #ifndef _IPADDR_T -# if defined(__alpha) || defined(__arch64__) +# if defined(__alpha) || defined(__arch64__) || defined(_LP64) typedef unsigned int ipaddr_t; # else typedef unsigned long ipaddr_t;