From 4b309f00888c575875d00c82a864138827aafde6 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 21 Feb 2005 04:28:42 +0000 Subject: [PATCH] hpux fixes --- src/sigar_util.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/sigar_util.c b/src/sigar_util.c index c83239d8..1f084b10 100644 --- a/src/sigar_util.c +++ b/src/sigar_util.c @@ -411,14 +411,18 @@ void sigar_cpu_model_adjust(sigar_t *sigar, sigar_cpu_info_t *info) #include #include #include +#ifdef SIGAR_HPUX +#include +#else #include +#endif #if defined(__FreeBSD__) || defined(__sun) #include #endif -#ifdef __sun +#if defined(__sun) || defined(SIGAR_HPUX) #include #endif -#ifdef _AIX +#if defined(_AIX) || defined(SIGAR_HPUX) #include #endif