From ae50bbe2575e8e3234a70f89a7897b544cc4f3f0 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 2 Apr 2015 20:31:17 +0200 Subject: sys/dkstat.h has been removed from OpenBSD and it's functionality actually lived/lives in sys/sched.h --- src/print_cpu_usage.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/print_cpu_usage.c') diff --git a/src/print_cpu_usage.c b/src/print_cpu_usage.c index 2c59f69..927e763 100644 --- a/src/print_cpu_usage.c +++ b/src/print_cpu_usage.c @@ -10,8 +10,12 @@ #include #include #include +#if defined(__OpenBSD__) +#include +#else #include #endif +#endif #if defined(__DragonFly__) #include -- cgit v1.2.3