aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2011-01-03 12:59:43 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2011-01-03 12:59:43 +0000
commitba26e4c4db0ef35c28ae2455b17030c85af5dbaa (patch)
treefc38fd5de7a0dd40e2089a7b48687b2357ebf195 /tools
parent0f02b1885ef4bbd901d55e918a823aa8a2ad5a4d (diff)
downloadupstream-ba26e4c4db0ef35c28ae2455b17030c85af5dbaa.tar.gz
upstream-ba26e4c4db0ef35c28ae2455b17030c85af5dbaa.tar.bz2
upstream-ba26e4c4db0ef35c28ae2455b17030c85af5dbaa.zip
tools/qemu: fix FreeBSD compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24888 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/qemu/patches/010-freebsd-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/qemu/patches/010-freebsd-fix.patch b/tools/qemu/patches/010-freebsd-fix.patch
new file mode 100644
index 0000000000..1fc0912096
--- /dev/null
+++ b/tools/qemu/patches/010-freebsd-fix.patch
@@ -0,0 +1,11 @@
+--- a/block/sheepdog.c
++++ b/block/sheepdog.c
+@@ -12,7 +12,7 @@
+ #include <windows.h>
+ #include <winsock2.h>
+ #include <ws2tcpip.h>
+-#else
++#elifndef __FreeBSD__
+ #include <netdb.h>
+ #include <netinet/tcp.h>
+