diff options
Diffstat (limited to 'src/print_cpu_usage.c')
-rw-r--r-- | src/print_cpu_usage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/print_cpu_usage.c b/src/print_cpu_usage.c index 3c3c0d5..a5021bf 100644 --- a/src/print_cpu_usage.c +++ b/src/print_cpu_usage.c @@ -1,6 +1,8 @@ // vim:ts=4:sw=4:expandtab #include <config.h> +#if defined(__linux__) #include <sys/sysinfo.h> +#endif #include <stdlib.h> #include <limits.h> #include <stdio.h> |