summaryrefslogblamecommitdiff
path: root/games/edge/files/patch-src__unx_net.cc
blob: 2b057fccfcc5575fcf6705abea6aaa9d478f454c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                        
--- ./src/unx_net.cc.orig	Sat Nov 25 05:25:10 2006
+++ ./src/unx_net.cc	Wed Dec  5 23:19:09 2007
@@ -36,7 +36,11 @@
 #define htons  htons_FUCK
 
 #include <arpa/inet.h>
+#ifdef __FreeBSD__
+#include <net/if.h>
+#else
 #include <linux/netdevice.h> 
+#endif
 
 // possible: <linux/if.h>
 //           <linux/sockios.h>