openwrt/tools/qemu/patches/010-freebsd-fix.patch
Alexandros C. Couloumbis e303b6e46a tools/qemu: fix FreeBSD compile issue
SVN-Revision: 24888
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>