X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fnfsmount.c;h=6355681d4b520eeb3bdeacb26ed81cf797ea33cc;hp=b343a1f07a216643f11a5ef3aec9614735a31014;hb=8dfb9661a132a206c10067f40e274cf797dab1b2;hpb=1a1d3757d8881000496b838ff7d1ede981e9c40d diff --git a/utils/mount/nfsmount.c b/utils/mount/nfsmount.c index b343a1f..6355681 100644 --- a/utils/mount/nfsmount.c +++ b/utils/mount/nfsmount.c @@ -69,6 +69,13 @@ #include "network.h" #include "version.h" +#ifdef HAVE_RPCSVC_NFS_PROT_H +#include +#else +#include +#define nfsstat nfs_stat +#endif + #ifndef NFS_PORT #define NFS_PORT 2049 #endif