# | Line 25 | Line 25 | |
---|---|---|
25 | #include <stdio.h> | |
26 | #include <unistd.h> | |
27 | #include <stdlib.h> | |
28 | – | #include <sys/types.h> |
28 | #include <time.h> | |
29 | #include <string.h> | |
30 | #include "statgrab.h" | |
31 | #ifdef SOLARIS | |
32 | #include <kstat.h> | |
33 | #include <sys/sysinfo.h> | |
35 | – | #endif |
36 | – | #ifdef FREEBSD |
37 | – | #include <sys/sysctl.h> |
38 | – | #include <sys/dkstat.h> |
34 | #endif | |
35 | ||
36 | static cpu_states_t cpu_now; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |