From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Wed, 24 Sep 2008 10:29:37 +0200 Subject: [U-Boot] [PATCH] api: Fix building with CONFIG_API Message-ID: <200809241029.37254.matthias.fuchs@esd-electronics.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch fixes building with CONFIG_API and COFNIG_USB_STORAGE. USB_MAX_STOR_DEV is defined in include/usb.h, but needed in api/api_storage.c. Signed-off-by: Matthias Fuchs --- api/api_storage.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/api/api_storage.c b/api/api_storage.c index 74391a5..5642dd3 100644 --- a/api/api_storage.c +++ b/api/api_storage.c @@ -30,6 +30,10 @@ #include #include +#if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE) +#include +#endif + #define DEBUG #undef DEBUG -- 1.5.3