aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisa Nguyen <lisa.nguyen@linaro.org>2016-01-20 01:16:49 +0000
committerLisa Nguyen <lisa.nguyen@linaro.org>2016-02-23 21:22:09 -0800
commit36814078738b6e74cd19ab59730bd68d1ae81600 (patch)
treeb7a009cc9cd05c37999ff9be0a00970e513c6400
parentd6e1d5875727d7b645a6474a5a1b076f9e54e2a5 (diff)
downloadpowertop-2.0-36814078738b6e74cd19ab59730bd68d1ae81600.tar.gz
Add the ctype library
Fix this error: external/powertop/src/tuning/tuningusb.cpp:138:33: error: 'isdigit' was not declared in this scope if (!isdigit(entry->d_name[0])) Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
-rw-r--r--src/tuning/tuningusb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tuning/tuningusb.cpp b/src/tuning/tuningusb.cpp
index 3b7b2b1..084774b 100644
--- a/src/tuning/tuningusb.cpp
+++ b/src/tuning/tuningusb.cpp
@@ -33,7 +33,7 @@
#include <iostream>
#include <fstream>
#include <limits.h>
-
+#include <ctype.h>
#include "../lib.h"
usb_tunable::usb_tunable(const char *path, const char *name) : tunable("", 0.9, _("Good"), _("Bad"), _("Unknown"))