tools/qemu: fix FreeBSD compile issue

SVN-Revision: 24888
lede-17.01
Alexandros C. Couloumbis 2011-01-03 12:59:43 +00:00
parent 4e83015c51
commit e303b6e46a
1 changed files with 11 additions and 0 deletions

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>