summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/api_storage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/api_storage.c b/api/api_storage.c
index 74391a59d0..5642dd33bc 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -30,6 +30,10 @@
#include <common.h>
#include <api_public.h>
+#if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
+#include <usb.h>
+#endif
+
#define DEBUG
#undef DEBUG
OpenPOWER on IntegriCloud