From 9f399955ac90f4350011fc168e9e02fe75488ae6 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 21 Feb 2005 04:14:26 +0000 Subject: [PATCH] aix 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 9f189e57..c83239d8 100644 --- a/src/sigar_util.c +++ b/src/sigar_util.c @@ -239,7 +239,7 @@ int sigar_procfs_args_get(sigar_t *sigar, sigar_pid_t pid, sigar_proc_args_create(procargs); - //e.g. /proc/2/cmdline + /* e.g. /proc/2/cmdline */ if (total == 0) { procargs->number = 0; return SIGAR_OK; @@ -418,6 +418,9 @@ void sigar_cpu_model_adjust(sigar_t *sigar, sigar_cpu_info_t *info) #ifdef __sun #include #endif +#ifdef _AIX +#include +#endif static int get_sockaddr(struct sockaddr_in *addr, char *host) {