mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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:
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>
|
||||
|
||||
Reference in New Issue
Block a user