nfs.h needs sys/socket.h
This commit is contained in:
parent
13bcf8ae45
commit
18c2856f75
|
@ -61,14 +61,6 @@
|
|||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#if defined(__FreeBSD__) && (__FreeBSD_version >= 500013)
|
||||
#define SIGAR_FREEBSD5_NFSSTAT
|
||||
#include <nfsclient/nfs.h>
|
||||
#include <nfsserver/nfs.h>
|
||||
#else
|
||||
#include <nfs/nfs.h>
|
||||
#endif
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/resource.h>
|
||||
|
@ -83,6 +75,14 @@
|
|||
#include <netinet/in.h>
|
||||
#include <netinet/if_ether.h>
|
||||
|
||||
#if defined(__FreeBSD__) && (__FreeBSD_version >= 500013)
|
||||
#define SIGAR_FREEBSD5_NFSSTAT
|
||||
#include <nfsclient/nfs.h>
|
||||
#include <nfsserver/nfs.h>
|
||||
#else
|
||||
#include <nfs/nfs.h>
|
||||
#endif
|
||||
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue