1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 02:06:28 +02:00
openwrt-xburst/tools/qemu/patches/010-freebsd-fix.patch
acoul 4efba00056 tools/qemu: fix FreeBSD compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 12:59:43 +00:00

12 lines
210 B
Diff

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