diff options
Diffstat (limited to 'emulators/qemu-devel/files/patch-z-bandaid-usb-current')
-rw-r--r-- | emulators/qemu-devel/files/patch-z-bandaid-usb-current | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/qemu-devel/files/patch-z-bandaid-usb-current b/emulators/qemu-devel/files/patch-z-bandaid-usb-current index 347c8417ab7b..ad66da21f543 100644 --- a/emulators/qemu-devel/files/patch-z-bandaid-usb-current +++ b/emulators/qemu-devel/files/patch-z-bandaid-usb-current @@ -1,14 +1,14 @@ Index: qemu/usb-bsd.c -@@ -34,7 +34,12 @@ - #undef USB_SPEED_LOW +@@ -35,7 +35,12 @@ #include <sys/ioctl.h> + #ifndef __DragonFly__ +#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. + #else + #include <bus/usb/usb.h> + #endif |