Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ambrop72/badvpn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lwip
diff options
context:
space:
mode:
authorambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140>2011-03-12 15:24:46 +0300
committerambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140>2011-03-12 15:24:46 +0300
commit76f53f6510a7d201fa1999cf73d95f746dfcb532 (patch)
treef8daed94c4907153df44139219dc7be7c0212a13 /lwip
parent873b2c51639182459aee4d39f2271bfaadae63c8 (diff)
FreeBSD support.
Diffstat (limited to 'lwip')
-rw-r--r--lwip/custom/arch/cc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lwip/custom/arch/cc.h b/lwip/custom/arch/cc.h
index d23e561..ab659d8 100644
--- a/lwip/custom/arch/cc.h
+++ b/lwip/custom/arch/cc.h
@@ -58,8 +58,12 @@
// for BYTE_ORDER
#ifdef BADVPN_USE_WINAPI
#include <sys/param.h>
-#else
+#endif
+#ifdef BADVPN_LINUX
#include <endian.h>
#endif
+#ifdef BADVPN_FREEBSD
+ #include <machine/endian.h>
+#endif
#endif