commit | 40156b8a91363da69675e7e4cb7947c371871654 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Thu Dec 06 17:06:36 2012 -0800 |
committer | Iliyan Malchev <malchev@google.com> | Thu Dec 06 17:06:39 2012 -0800 |
tree | af629235df998c308502fdcf9959b50699a037be | |
parent | 9255713bcf929e7cdd2817481f0dd08f838285c3 [diff] |
charger: fix build Looks like libsuspend is not available on all platforms. Change-Id: Ic32dc93221f3c488e846da35235f247f4ddb4c69 Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/charger/charger.c b/charger/charger.c index 1bacc81..25b3b1a 100644 --- a/charger/charger.c +++ b/charger/charger.c
@@ -41,7 +41,9 @@ #include <cutils/misc.h> #include <cutils/uevent.h> +#ifdef CHARGER_ENABLE_SUSPEND #include <suspend/autosuspend.h> +#endif #include "minui/minui.h"