# | Line 24 | Line 24 | |
---|---|---|
24 | ||
25 | #include <stdio.h> | |
26 | #include "statgrab.h" | |
27 | – | #ifdef LINUX |
28 | – | #include <string.h> |
29 | – | #endif |
27 | #ifdef SOLARIS | |
28 | #include <unistd.h> | |
29 | #include <kstat.h> | |
33 | – | #endif |
34 | – | #ifdef FREEBSD |
35 | – | #include <sys/types.h> |
36 | – | #include <sys/sysctl.h> |
37 | – | #include <unistd.h> |
30 | #endif | |
31 | ||
32 | mem_stat_t *get_memory_stats(){ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |