mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
tools/qemu: fix FreeBSD compile issue
SVN-Revision: 24888
This commit is contained in:
parent
4e83015c51
commit
e303b6e46a
11
tools/qemu/patches/010-freebsd-fix.patch
Normal file
11
tools/qemu/patches/010-freebsd-fix.patch
Normal 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>
|
||||
|
Loading…
Reference in New Issue
Block a user