From: lars Date: Sun, 30 Nov 2008 19:23:03 +0000 (+0000) Subject: Fix compile for olpc target. X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=49544367ca28f8dad57f5b8de841deedceab8c19 Fix compile for olpc target. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13451 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/libertas/src/if_usb.c b/package/libertas/src/if_usb.c index 74ac86ea3..97a811901 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 3291cedf1..f6820da76 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