summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/rtems/bsd/local/opt_usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/rtems/bsd/local/opt_usb.h')
-rw-r--r--rtemsbsd/include/rtems/bsd/local/opt_usb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/local/opt_usb.h b/rtemsbsd/include/rtems/bsd/local/opt_usb.h
index 2b7227bd..6453248c 100644
--- a/rtemsbsd/include/rtems/bsd/local/opt_usb.h
+++ b/rtemsbsd/include/rtems/bsd/local/opt_usb.h
@@ -1,3 +1,5 @@
+#include <rtems/bsd/modules.h>
+
#define USB_HAVE_CONDVAR 1
#define USB_HAVE_UGEN 1
@@ -8,7 +10,9 @@
#define USB_HAVE_USER_IO 0
+#if defined(RTEMS_BSD_MODULE_NETINET) || defined(RTEMS_BSD_MODULE_NETINET6)
#define USB_HAVE_MBUF 1
+#endif
#undef USB_VERBOSE