From e303b6e46ab2b0b248ada769a77e6b6cdd5adb4e Mon Sep 17 00:00:00 2001
From: "Alexandros C. Couloumbis" <alex@ozo.com>
Date: Mon, 3 Jan 2011 12:59:43 +0000
Subject: [PATCH] tools/qemu: fix FreeBSD compile issue

SVN-Revision: 24888
---
 tools/qemu/patches/010-freebsd-fix.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 tools/qemu/patches/010-freebsd-fix.patch

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>
+ 
-- 
GitLab