opnsense-ports/games/tenebrae/files/patch-net.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
416 B
C

--- ./net.h.orig Sat Jun 10 12:08:13 2006
+++ ./net.h Sat Jun 10 12:08:13 2006
@@ -239,7 +239,7 @@
extern int hostCacheCount;
extern hostcache_t hostcache[HOSTCACHESIZE];
-#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__)
+#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__) && !defined (__FreeBSD__)
#ifndef htonl
extern unsigned long htonl (unsigned long hostlong);
#endif