aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qemu/patches/010-freebsd-fix.patch
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
commite303b6e46ab2b0b248ada769a77e6b6cdd5adb4e (patch)
tree6c8de0952931b1d8f00956d49f4563943d978501 /tools/qemu/patches/010-freebsd-fix.patch
parent4e83015c51e36c06cf7dfa1e7ba63b52b29558e3 (diff)
downloadupstream-e303b6e46ab2b0b248ada769a77e6b6cdd5adb4e.tar.gz
upstream-e303b6e46ab2b0b248ada769a77e6b6cdd5adb4e.tar.bz2
upstream-e303b6e46ab2b0b248ada769a77e6b6cdd5adb4e.zip
tools/qemu: fix FreeBSD compile issue
SVN-Revision: 24888
Diffstat (limited to 'tools/qemu/patches/010-freebsd-fix.patch')
-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>
+