aboutsummaryrefslogtreecommitdiffstats
path: root/main/powertop/musl-fix-headers.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-04 12:20:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-04 12:21:24 +0000
commit67900ae3e072c7674aab23cf836eb76641ba3906 (patch)
tree1da47ad504623f3389c3234c14a6f1ff0b2dd164 /main/powertop/musl-fix-headers.patch
parentc9247066160b3b0d78ddb0de841c4d48086036cc (diff)
downloadaports-67900ae3e072c7674aab23cf836eb76641ba3906.tar.bz2
aports-67900ae3e072c7674aab23cf836eb76641ba3906.tar.xz
main/powertop: upgrade to 2.7
Diffstat (limited to 'main/powertop/musl-fix-headers.patch')
-rw-r--r--main/powertop/musl-fix-headers.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/powertop/musl-fix-headers.patch b/main/powertop/musl-fix-headers.patch
new file mode 100644
index 0000000000..9839d15bf6
--- /dev/null
+++ b/main/powertop/musl-fix-headers.patch
@@ -0,0 +1,22 @@
+--- ./src/devices/devfreq.h.orig
++++ ./src/devices/devfreq.h
+@@ -25,6 +25,7 @@
+ #ifndef _INCLUDE_GUARD_DEVFREQ_H
+ #define _INCLUDE_GUARD_DEVFREQ_H
+
++#include <sys/time.h>
+ #include "device.h"
+ #include "../parameters/parameters.h"
+
+diff --git a/src/perf/perf.h b/src/perf/perf.h
+index ee072ae06d24..932588a684f9 100644
+--- a/src/perf/perf.h
++++ b/src/perf/perf.h
+@@ -26,6 +26,7 @@
+ #define _INCLUDE_GUARD_PERF_H_
+
+ #include <iostream>
++#include <stdio.h>
+
+
+ extern "C" {