freebsd-ports/sysutils/kcube/files/patch-kcube.h
Markus Brueffer 4e7bd06dec Add kcube 0.61, another cpu load kicker applet for KDE.
PR:		ports/62535
Submitted by:	Michael Ranner <mranner@inode.at>
Approved by:	arved (mentor)
2004-02-29 23:28:23 +00:00

21 lines
425 B
C++

--- kcube/kcube.h.orig Thu Feb 13 19:25:29 2003
+++ kcube/kcube.h Wed Feb 25 03:59:17 2004
@@ -37,6 +37,18 @@
#include "PrefForm.h"
+#ifdef Q_OS_BSD4
+#include <sys/param.h>
+#if defined(__FreeBSD__) && __FreeBSD_version >= 500101
+#include <sys/resource.h>
+#else
+#include <sys/dkstat.h>
+#endif
+#include <sys/sysctl.h>
+#include <string.h>
+#include <kvm.h>
+#endif
+
class Kcube : public KPanelApplet
{
Q_OBJECT