From: Lars-Peter Clausen Date: Sun, 30 Nov 2008 19:23:03 +0000 (+0000) Subject: Fix compile for olpc target. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dd6e0afc454be9bd0bde797a50da34035f1bd196;p=openwrt%2Fstaging%2Fnbd.git Fix compile for olpc target. SVN-Revision: 13451 --- diff --git a/package/libertas/src/if_usb.c b/package/libertas/src/if_usb.c index 74ac86ea3d..97a8119019 100644 --- a/package/libertas/src/if_usb.c +++ b/package/libertas/src/if_usb.c @@ -6,7 +6,9 @@ #include #include #include -//#include +#ifdef CONFIG_OLPC +#include +#endif #define DRV_NAME "usb8xxx" diff --git a/package/libertas/src/main.c b/package/libertas/src/main.c index 3291cedf1f..f6820da763 100644 --- a/package/libertas/src/main.c +++ b/package/libertas/src/main.c @@ -11,7 +11,9 @@ #include #include #include -//#include +#ifdef CONFIG_OLPC +#include +#endif #include #include