diff options
Diffstat (limited to 'sys/dev/usb/usb.h')
| -rw-r--r-- | sys/dev/usb/usb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 07dd4b39faba..55b43c76a84a 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -50,7 +50,15 @@ #endif #if defined(_KERNEL) +#if 1 #include <dev/usb/usb_port.h> +#else +#include <sys/malloc.h> + +MALLOC_DECLARE(M_USB); +MALLOC_DECLARE(M_USBDEV); +MALLOC_DECLARE(M_USBHC); +#endif #endif /* _KERNEL */ /* These two defines are used by usbd to autoload the usb kld */ |
