mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
14 lines
511 B
Plaintext
14 lines
511 B
Plaintext
$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
|