mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
Upstream announcement https://forum.lxqt.org/t/release-lxqt-0-14-0/572 Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19056
25 lines
515 B
C++
25 lines
515 B
C++
--- cpustat.h.orig 2019-01-30 19:27:42 UTC
|
|
+++ cpustat.h
|
|
@@ -27,14 +27,20 @@
|
|
#ifndef LIBSYSSTAT__CPU_STAT__INCLUDED
|
|
#define LIBSYSSTAT__CPU_STAT__INCLUDED
|
|
|
|
-
|
|
+#ifdef HAVE_CONFIG_H
|
|
+#include "config.h"
|
|
+#endif
|
|
#include <QtCore/QObject>
|
|
|
|
#include "basestat.h"
|
|
|
|
|
|
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
|