diff options
Diffstat (limited to 'sysutils/libsysstat/files/patch-cpustat.h')
-rw-r--r-- | sysutils/libsysstat/files/patch-cpustat.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sysutils/libsysstat/files/patch-cpustat.h b/sysutils/libsysstat/files/patch-cpustat.h index cca9c5ce905d..f0a117d36f02 100644 --- a/sysutils/libsysstat/files/patch-cpustat.h +++ b/sysutils/libsysstat/files/patch-cpustat.h @@ -1,6 +1,6 @@ ---- cpustat.h.orig 2018-07-28 14:34:23 UTC +--- cpustat.h.orig 2019-01-30 19:27:42 UTC +++ cpustat.h -@@ -27,7 +27,9 @@ +@@ -27,14 +27,20 @@ #ifndef LIBSYSSTAT__CPU_STAT__INCLUDED #define LIBSYSSTAT__CPU_STAT__INCLUDED @@ -11,16 +11,15 @@ #include <QtCore/QObject> #include "basestat.h" -@@ -35,6 +37,12 @@ - namespace SysStat { + namespace SysStat { +- +#ifdef HAVE_SYSCTL_H + char *GetFirstFragment(char *string, const char *delim); + int GetCpu(void); + ulong CurrentFreq(void); +#endif -+ class CpuStatPrivate; class SYSSTATSHARED_EXPORT CpuStat : public BaseStat |