From 4efba00056ccc29c54a439a49bd14f6f9cf1e858 Mon Sep 17 00:00:00 2001
From: acoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 3 Jan 2011 12:59:43 +0000
Subject: [PATCH] tools/qemu: fix FreeBSD compile issue

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24888 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 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 000000000..1fc091209
--- /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>
+ 
-- 
2.20.1