aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-bt
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-bt')
-rw-r--r--emulators/qemu-devel/files/patch-bt12
1 files changed, 6 insertions, 6 deletions
diff --git a/emulators/qemu-devel/files/patch-bt b/emulators/qemu-devel/files/patch-bt
index 62e8924722b3..2a51b7d00a8f 100644
--- a/emulators/qemu-devel/files/patch-bt
+++ b/emulators/qemu-devel/files/patch-bt
@@ -1,14 +1,14 @@
Index: qemu/vl.c
-@@ -43,6 +43,9 @@
- #ifndef __APPLE__
- #include <libutil.h>
+@@ -76,6 +76,9 @@
+ #endif
+ #endif
#endif
+#ifdef __FreeBSD__
+#include <sys/module.h>
+#endif
- #else
- #include <linux/if.h>
- #include <linux/if_tun.h>
+
+ #if defined(CONFIG_SLIRP)
+ #include "libslirp.h"
@@ -1059,6 +1062,34 @@
#endif /* CONFIG_SLIRP */