powertop: fix musl compile with headers patch from alpine
This commit is contained in:
parent
0f487e505a
commit
b3882b2a5f
|
@ -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
|
||||
--- src/perf/perf.h.orig
|
||||
+++ src/perf/perf.h
|
||||
@@ -26,6 +26,7 @@
|
||||
#define _INCLUDE_GUARD_PERF_H_
|
||||
|
||||
#include <iostream>
|
||||
+#include <stdio.h>
|
||||
|
||||
|
||||
extern "C" {
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'powertop'
|
||||
pkgname=powertop
|
||||
version=2.7
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin"
|
||||
hostmakedepends="pkg-config"
|
||||
|
|
Loading…
Reference in New Issue