summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-z-bandaid-usb-current
blob: 347c8417ab7b4c963e5665a8516c8349d7cdba6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: qemu/usb-bsd.c
@@ -34,7 +34,12 @@
 #undef USB_SPEED_LOW
 
 #include <sys/ioctl.h>
+#include <sys/param.h>
+#if __FreeBSD_version >= 800064
+#include <legacy/dev/usb/usb.h>
+#else
 #include <dev/usb/usb.h>
+#endif
 #include <signal.h>
 
 /* This value has maximum potential at 16.