$NetBSD: patch-ap,v 1.3 2006/05/12 12:40:10 joerg Exp $ --- winquake/net.h.orig 1999-12-21 15:54:20.000000000 +0000 +++ winquake/net.h @@ -238,7 +238,7 @@ typedef struct extern int hostCacheCount; extern hostcache_t hostcache[HOSTCACHESIZE]; -#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__) +#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__) && !defined (__NetBSD__) && defined(__DragonFly__) #ifndef htonl extern unsigned long htonl (unsigned long hostlong); #endif