tools/qemu: fix FreeBSD compile issue
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 3 Jan 2011 12:59:43 +0000 (12:59 +0000)
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 3 Jan 2011 12:59:43 +0000 (12:59 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24888 3c298f89-4303-0410-b956-a3cf2f4a3e73

tools/qemu/patches/010-freebsd-fix.patch [new file with mode: 0644]

diff --git a/tools/qemu/patches/010-freebsd-fix.patch b/tools/qemu/patches/010-freebsd-fix.patch
new file mode 100644 (file)
index 0000000..1fc0912
--- /dev/null
@@ -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>
This page took 0.025546 seconds and 4 git commands to generate.