summaryrefslogtreecommitdiff
path: root/games/quake/patches/patch-ap
blob: a385251b842db7996dda8ac502724347f8e3d7aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ap,v 1.2 2002/01/02 10:01:36 hubertf Exp $

--- winquake/net.h.orig	Tue Dec 21 15:54:20 1999
+++ winquake/net.h
@@ -238,7 +238,7 @@
 extern int hostCacheCount;
 extern hostcache_t hostcache[HOSTCACHESIZE];
 
-#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__)
+#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__) && !defined (__NetBSD__)
 #ifndef htonl
 extern unsigned long htonl (unsigned long hostlong);
 #endif