]> git.sur5r.net Git - i3/i3status/commitdiff
sys/dkstat.h has been removed from OpenBSD and it's functionality actually lived... 18/head
authorJasper Lievisse Adriaanse <jasper@humppa.nl>
Thu, 2 Apr 2015 18:31:17 +0000 (20:31 +0200)
committerJasper Lievisse Adriaanse <jasper@humppa.nl>
Thu, 2 Apr 2015 18:31:17 +0000 (20:31 +0200)
src/print_cpu_usage.c

index 2c59f69277ffc0452f62f2498cda0c7c093efa22..927e763891eb78408d295d933db69ba07421603e 100644 (file)
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/sysctl.h>
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/sysctl.h>
+#if defined(__OpenBSD__)
+#include <sys/sched.h>
+#else
 #include <sys/dkstat.h>
 #endif
 #include <sys/dkstat.h>
 #endif
+#endif
 
 #if defined(__DragonFly__)
 #include <sys/param.h>
 
 #if defined(__DragonFly__)
 #include <sys/param.h>