projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools/qemu: fix FreeBSD compile issue
[openwrt/staging/stintel.git]
/
tools
/
qemu
/
patches
/
010-freebsd-fix.patch
diff --git a/tools/qemu/patches/010-freebsd-fix.patch
b/tools/qemu/patches/010-freebsd-fix.patch
new file mode 100644
(file)
index 0000000..
1fc0912
--- /dev/null
+++ b/
tools/qemu/patches/010-freebsd-fix.patch
@@ -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>
+