From: Jasper Lievisse Adriaanse Date: Thu, 2 Apr 2015 18:31:17 +0000 (+0200) Subject: sys/dkstat.h has been removed from OpenBSD and it's functionality actually lived... X-Git-Tag: 2.10~40^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ae50bbe2575e8e3234a70f89a7897b544cc4f3f0;p=i3%2Fi3status sys/dkstat.h has been removed from OpenBSD and it's functionality actually lived/lives in sys/sched.h --- 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