1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Add band-aid build fix for -current (usb host support still wont work with

the new stack - helpful hands wanted there!)

PR:		ports/132126
Submitted by:	Oleg Ginzburg <oleg.ginzburg@nevosoft.ru>
This commit is contained in:
Juergen Lock 2009-02-28 16:50:44 +00:00
parent a60443382a
commit 16526aaf38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229221
2 changed files with 28 additions and 0 deletions

View File

@ -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.

View File

@ -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.