diff options
-rw-r--r-- | man/i3status.man | 1 | ||||
-rw-r--r-- | src/print_cpu_usage.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/man/i3status.man b/man/i3status.man index 6309c2a..5754196 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -437,6 +437,7 @@ query +/dev/mixer+ directly if +mixer_dix+ is -1, otherwise *Example order*: +volume master+ *Example format*: +♪: %volume+ + *Example format_muted*: +♪: 0%%+ *Example configuration*: 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> |