fixup includes for OpenBSD
This commit is contained in:
parent
ee1dadd4a9
commit
67323ea91b
|
@ -459,13 +459,13 @@ int sigar_cpu_mhz_from_model(char *model)
|
||||||
#ifdef SIGAR_HPUX
|
#ifdef SIGAR_HPUX
|
||||||
#include <nfs/nfs.h>
|
#include <nfs/nfs.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(__FreeBSD__) || defined(__sun) || defined(DARWIN)
|
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sun) || defined(DARWIN)
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(__sun) || defined(SIGAR_HPUX)
|
#if defined(__sun) || defined(SIGAR_HPUX)
|
||||||
#include <rpc/clnt_soc.h>
|
#include <rpc/clnt_soc.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(_AIX) || defined(SIGAR_HPUX)
|
#if defined(_AIX) || defined(SIGAR_HPUX) || defined(__OpenBSD__)
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue