nfs.h needs sys/socket.h

This commit is contained in:
Doug MacEachern 2014-10-30 11:00:40 -07:00
parent 13bcf8ae45
commit 18c2856f75
1 changed files with 8 additions and 8 deletions

View File

@ -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>