From 99edef1178a44801f5e9bff7d558ad60afb6bb7a Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 21 Feb 2005 02:58:53 +0000 Subject: [PATCH] solaris nfs_ping fixes --- src/sigar_util.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sigar_util.c b/src/sigar_util.c index d773a786..9f189e57 100644 --- a/src/sigar_util.c +++ b/src/sigar_util.c @@ -412,9 +412,12 @@ void sigar_cpu_model_adjust(sigar_t *sigar, sigar_cpu_info_t *info) #include #include #include -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__sun) #include #endif +#ifdef __sun +#include +#endif static int get_sockaddr(struct sockaddr_in *addr, char *host) {