summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2015-05-31 18:47:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-05-31 18:47:48 +0200
commit638d5eaa2b9cd15a40bd1121fcbc4d01351e579a (patch)
tree53cd42cef9717afeed223173374523b70b756581 /ksysguard/ksysguardd
parentd275f0984521e28e9bc8fc98446d16ac79d29dc6 (diff)
downloadtdebase-638d5eaa2b9cd15a40bd1121fcbc4d01351e579a.tar.gz
tdebase-638d5eaa2b9cd15a40bd1121fcbc4d01351e579a.zip
Fix FTBFS on openbsd 5.7
This resolves Bug 2443 Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'ksysguard/ksysguardd')
-rw-r--r--ksysguard/ksysguardd/OpenBSD/ProcessList.c1
-rw-r--r--ksysguard/ksysguardd/OpenBSD/cpu.c2
-rw-r--r--ksysguard/ksysguardd/OpenBSD/memory.c3
3 files changed, 4 insertions, 2 deletions
diff --git a/ksysguard/ksysguardd/OpenBSD/ProcessList.c b/ksysguard/ksysguardd/OpenBSD/ProcessList.c
index 393212fc9..ccdcc2313 100644
--- a/ksysguard/ksysguardd/OpenBSD/ProcessList.c
+++ b/ksysguard/ksysguardd/OpenBSD/ProcessList.c
@@ -33,6 +33,7 @@
#include <sys/time.h>
#include <sys/types.h>
#include <sys/user.h>
+#include <errno.h>
#include <unistd.h>
#include <signal.h>
diff --git a/ksysguard/ksysguardd/OpenBSD/cpu.c b/ksysguard/ksysguardd/OpenBSD/cpu.c
index 3d1535ffe..2ecf1ed51 100644
--- a/ksysguard/ksysguardd/OpenBSD/cpu.c
+++ b/ksysguard/ksysguardd/OpenBSD/cpu.c
@@ -20,7 +20,7 @@
#include <sys/param.h>
#include <sys/sysctl.h>
-#include <sys/dkstat.h>
+#include <sys/sched.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/ksysguard/ksysguardd/OpenBSD/memory.c b/ksysguard/ksysguardd/OpenBSD/memory.c
index 3deb88229..17a222a6c 100644
--- a/ksysguard/ksysguardd/OpenBSD/memory.c
+++ b/ksysguard/ksysguardd/OpenBSD/memory.c
@@ -22,7 +22,8 @@
#include <sys/param.h>
#include <sys/sysctl.h>
-#include <sys/dkstat.h>
+#include <sys/sched.h>
+#include <sys/vmmeter.h>
#include <sys/swap.h>
#include <limits.h>