diff options
-rw-r--r-- | src/print_cpu_usage.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <sys/param.h> #include <sys/types.h> #include <sys/sysctl.h> +#if defined(__OpenBSD__) +#include <sys/sched.h> +#else #include <sys/dkstat.h> #endif +#endif #if defined(__DragonFly__) #include <sys/param.h> |