17 |
|
* License along with this library; if not, write to the Free Software |
18 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
19 |
|
* 02111-1307 USA |
20 |
+ |
* |
21 |
+ |
* $Id$ |
22 |
|
*/ |
23 |
|
|
24 |
|
#ifdef HAVE_CONFIG_H |
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 |
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 |