You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @leezu suggested, please propose this patch upstream as it could also affect other packages relying on the same code base such as sys-apps/linux-misc-apps.
Hi there,
Linux-x86-power-tools was not building on musl due to a missing include in turbostat.c - Here's a patch I've just whipped up to get it working:
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 5b1b807..055a514 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -30,6 +30,7 @@
#include <sys/stat.h>
#include <sys/resource.h>
#include <fcntl.h>
+#include <limits.h>
#include <signal.h>
#include <sys/time.h>
#include <stdlib.h>
The text was updated successfully, but these errors were encountered: