# | Line 36 | Line 36 | |
---|---|---|
36 | #include <stdio.h> | |
37 | #endif | |
38 | #ifdef ALLBSD | |
39 | < | #ifdef FREEBSD |
39 | > | #if defined(FREEBSD) || defined(DFBSD) |
40 | #include <sys/types.h> | |
41 | #include <sys/sysctl.h> | |
42 | #else | |
# | Line 47 | Line 47 | |
47 | #include <sys/time.h> | |
48 | #endif | |
49 | ||
50 | < | general_stat_t *get_general_stats(){ |
50 | > | sg_host_info *sg_get_host_info(){ |
51 | ||
52 | < | static general_stat_t general_stat; |
52 | > | static sg_host_info general_stat; |
53 | static struct utsname os; | |
54 | ||
55 | #ifdef SOLARIS |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |