diff options
Diffstat (limited to 'emulators/qemu-devel')
-rw-r--r-- | emulators/qemu-devel/files/patch-bandaid-usb-current | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-bandaid-usb-current b/emulators/qemu-devel/files/patch-bandaid-usb-current new file mode 100644 index 000000000000..347c8417ab7b --- /dev/null +++ b/emulators/qemu-devel/files/patch-bandaid-usb-current @@ -0,0 +1,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. |