tools/qemu: fix FreeBSD compile issue

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24888 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Alexandros C. Couloumbis
2011-01-03 12:59:43 +00:00
parent 0f02b1885e
commit ba26e4c4db

View File

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