summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2006-09-06 23:44:25 +0000
committerWarner Losh <imp@FreeBSD.org>2006-09-06 23:44:25 +0000
commit56635f6bd3b14654919f320ebf1ef8107e44a9ac (patch)
tree2e077467ef96a921aba05ed82c82656b8e7d5369 /sys/dev/usb/usb.h
parentf455418269f8ed7e738b8b3090f9040c1edd8127 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb.h')
-rw-r--r--sys/dev/usb/usb.h8
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 */