diff options
author | n_hibma <n_hibma@FreeBSD.org> | 1998-12-12 11:57:59 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 1998-12-12 11:57:59 +0000 |
commit | fb03cef48c73e6e6e820cfd034923eacaac23e68 (patch) | |
tree | 373b2d4c45090352a7a95e0fcdd360a5d8f43f59 /sys/dev/usb/usb.h | |
parent | a49650a28f10b829e34e7165df814af98e952991 (diff) | |
download | FreeBSD-src-fb03cef48c73e6e6e820cfd034923eacaac23e68.zip FreeBSD-src-fb03cef48c73e6e6e820cfd034923eacaac23e68.tar.gz |
Fixed warning in usr.sbin/usbd
Diffstat (limited to 'sys/dev/usb/usb.h')
-rw-r--r-- | sys/dev/usb/usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 28695a3..24a5955 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -48,9 +48,11 @@ #if defined(__FreeBSD__) #include <sys/malloc.h> +#if defined(KERNEL) MALLOC_DECLARE(M_USB); MALLOC_DECLARE(M_USBDEV); #endif +#endif #define USB_MAX_DEVICES 128 #define USB_START_ADDR 0 |