diff options
author | Jesper Schmitz Mouridsen <jsm@FreeBSD.org> | 2019-03-28 17:59:33 +0000 |
---|---|---|
committer | Jesper Schmitz Mouridsen <jsm@FreeBSD.org> | 2019-03-28 17:59:33 +0000 |
commit | 0f8e28c12e469870992158896963ee2faa40c239 (patch) | |
tree | 2e9eaf3c10f8a452ca373d484cab9d6c2788cc79 /sysutils/libsysstat/files/patch-memstat.h | |
parent | Update distinfo to Python 3.5.7 (diff) |
Upgrade the LXQt desktop environment to 0.14.0
Upstream announcement https://forum.lxqt.org/t/release-lxqt-0-14-0/572
Approved by: miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19056
Notes
Notes:
svn path=/head/; revision=497047
Diffstat (limited to 'sysutils/libsysstat/files/patch-memstat.h')
-rw-r--r-- | sysutils/libsysstat/files/patch-memstat.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sysutils/libsysstat/files/patch-memstat.h b/sysutils/libsysstat/files/patch-memstat.h index 1f8b2abee853..399764f046fb 100644 --- a/sysutils/libsysstat/files/patch-memstat.h +++ b/sysutils/libsysstat/files/patch-memstat.h @@ -1,25 +1,26 @@ ---- memstat.h.orig 2018-07-28 14:33:10 UTC +--- memstat.h.orig 2019-01-30 19:24:29 UTC +++ memstat.h -@@ -27,6 +27,9 @@ +@@ -27,7 +27,9 @@ #ifndef LIBSYSSTAT__MEM_STAT__INCLUDED #define LIBSYSSTAT__MEM_STAT__INCLUDED +- +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif - #include <QtCore/QObject> -@@ -35,6 +38,12 @@ - + #include "basestat.h" +@@ -36,7 +38,11 @@ namespace SysStat { + class MemStatPrivate; +- +#if defined(HAVE_SYSCTL_H) && defined(HAVE_KVM_H) + int SwapDevices(); + qulonglong MemGetByBytes(const QString property); + qulonglong MemGetByPages(const QString property); +#endif -+ - class MemStatPrivate; - class SYSSTATSHARED_EXPORT MemStat : public BaseStat + { + Q_OBJECT |