freebsd-ports/games/joequake/files/patch-net.h
Alejandro Pulver 624ff38926 - Fix building in non i386 architectures (change in Makefile.linux).
- Use Q1DIR directly, instead of assigning it to DATADIR.

Approved by:	garga (mentor, implicitly)
2006-05-20 13:29:07 +00:00

11 lines
371 B
C

--- ./net.h.orig Thu Jul 21 13:00:04 2005
+++ ./net.h Sat May 20 10:00:24 2006
@@ -258,7 +258,7 @@
extern int hostCacheCount;
extern hostcache_t hostcache[HOSTCACHESIZE];
-#if !defined(_WIN32 ) && !defined (__linux__)
+#if !defined(_WIN32 ) && !defined (__linux__) && !defined(__FreeBSD__)
#ifndef htonl
extern unsigned long htonl (unsigned long hostlong);
#endif