hpux fixes

This commit is contained in:
Doug MacEachern 2005-02-21 04:28:42 +00:00
parent 9f399955ac
commit 4b309f0088
1 changed files with 6 additions and 2 deletions

View File

@ -411,14 +411,18 @@ void sigar_cpu_model_adjust(sigar_t *sigar, sigar_cpu_info_t *info)
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
#ifdef SIGAR_HPUX
#include <nfs/nfs.h>
#else
#include <rpcsvc/nfs_prot.h>
#endif
#if defined(__FreeBSD__) || defined(__sun)
#include <arpa/inet.h>
#endif
#ifdef __sun
#if defined(__sun) || defined(SIGAR_HPUX)
#include <rpc/clnt_soc.h>
#endif
#ifdef _AIX
#if defined(_AIX) || defined(SIGAR_HPUX)
#include <sys/socket.h>
#endif