pts/powertop-wakeups-1.0.1 fails to install
marxin opened this issue · comments
Fails due to:
CXX parameters/powertop-learn.o
parameters/learn.cpp: In function ‘void learn_parameters(int, int)’:
parameters/learn.cpp:161:17: error: ‘time’ was not declared in this scope
161 | start = time(NULL);
| ^~~~
parameters/learn.cpp:31:1: note: ‘time’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
30 | #include <math.h>
+++ |+#include <ctime>
31 |