blob: d0e5d48ae4cfd5fd5ce0b0e8425de9d8f4c0a6a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ap,v 1.4 2009/08/29 19:26:01 wiz 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
|