diff options
author | Lisa Nguyen <lisa.nguyen@linaro.org> | 2016-01-20 01:16:49 +0000 |
---|---|---|
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | 2016-08-08 11:14:40 -0700 |
commit | 2e74b098a2e80016ea2d4f4fbd727d4ff044576c (patch) | |
tree | 421dee55b1e6ec85289b2888bd4fce0c6ae643b8 | |
parent | cd4617155617375cd54ed6b54473234c3bd2a2fa (diff) | |
download | powertop-2.0-2e74b098a2e80016ea2d4f4fbd727d4ff044576c.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.cpp | 2 |
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")) |