fixup includes for OpenBSD

This commit is contained in:
Doug MacEachern 2007-06-03 22:49:16 +00:00
parent ee1dadd4a9
commit 67323ea91b
1 changed files with 2 additions and 2 deletions

View File

@ -459,13 +459,13 @@ int sigar_cpu_mhz_from_model(char *model)
#ifdef SIGAR_HPUX
#include <nfs/nfs.h>
#endif
#if defined(__FreeBSD__) || defined(__sun) || defined(DARWIN)
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sun) || defined(DARWIN)
#include <arpa/inet.h>
#endif
#if defined(__sun) || defined(SIGAR_HPUX)
#include <rpc/clnt_soc.h>
#endif
#if defined(_AIX) || defined(SIGAR_HPUX)
#if defined(_AIX) || defined(SIGAR_HPUX) || defined(__OpenBSD__)
#include <sys/socket.h>
#endif