diff options
author | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2015-03-12 09:54:41 +0100 |
---|---|---|
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | 2015-03-13 11:46:13 -0700 |
commit | 4c87ec68262820ef15d7cb2447e62843bab18426 (patch) | |
tree | 9cc9945446f0c3bb4a365fb8928e5a46b20d0624 | |
parent | 901adc38eb598f958d056d96019887c9c6610a7b (diff) | |
download | pm-qa-4c87ec68262820ef15d7cb2447e62843bab18426.tar.gz |
include <sys/time.h>
On glibc, <sys/timex.h> includes <sys/time.h> -- on Bionic, it doesn't,
causing setitimer and gettimeofday to be undeclared
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Change-Id: Ibc7c1e31720f915be2e3d63ef0e9b7d156bda844
-rw-r--r-- | cpuidle/cpuidle_killer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpuidle/cpuidle_killer.c b/cpuidle/cpuidle_killer.c index 4297c18..e0e81e8 100644 --- a/cpuidle/cpuidle_killer.c +++ b/cpuidle/cpuidle_killer.c @@ -3,6 +3,7 @@ #include <stdlib.h> #include <unistd.h> #include <sys/timex.h> +#include <sys/time.h> #ifdef ANDROID /* * As of 5.0.0, Bionic provides timex, but not the |