diff options
author | François Andriot <francois.andriot@free.fr> | 2015-05-31 18:47:48 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-05-31 18:48:54 +0200 |
commit | 6807c7f7cb75bcc6ce0587054e2398b2ae125129 (patch) | |
tree | ebea6f9edc7b4ec3df1b4d03c0b1cdae524a547d | |
parent | 8fde833b98c2872f3ee6be7a4aabeb0b622df3d6 (diff) | |
download | tdebase-6807c7f7cb75bcc6ce0587054e2398b2ae125129.tar.gz tdebase-6807c7f7cb75bcc6ce0587054e2398b2ae125129.zip |
Fix FTBFS on openbsd 5.7
This resolves Bug 2443
Signed-off-by: François Andriot <francois.andriot@free.fr>
(cherry picked from commit 638d5eaa2b9cd15a40bd1121fcbc4d01351e579a)
-rw-r--r-- | kicker/applets/naughty/NaughtyProcessMonitor.cpp | 2 | ||||
-rw-r--r-- | ksysguard/ksysguardd/OpenBSD/ProcessList.c | 1 | ||||
-rw-r--r-- | ksysguard/ksysguardd/OpenBSD/cpu.c | 2 | ||||
-rw-r--r-- | ksysguard/ksysguardd/OpenBSD/memory.c | 3 |
4 files changed, 5 insertions, 3 deletions
diff --git a/kicker/applets/naughty/NaughtyProcessMonitor.cpp b/kicker/applets/naughty/NaughtyProcessMonitor.cpp index dbd3a0580..4409f9650 100644 --- a/kicker/applets/naughty/NaughtyProcessMonitor.cpp +++ b/kicker/applets/naughty/NaughtyProcessMonitor.cpp @@ -25,7 +25,7 @@ #include <sys/proc.h> #include <sys/sysctl.h> #include <sys/ucred.h> -#include <sys/dkstat.h> +#include <sys/sched.h> #include <stdlib.h> #endif 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> |