X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fstropts.c;h=e4a440890e89ad01b628b4d8aebd4e865e1c8e1f;hp=b54df40908ef729b11f97ceb29f670988a4ad563;hb=1a1d3757d8881000496b838ff7d1ede981e9c40d;hpb=93cfabb56a0b85cffca9c75cfac59e687157d0cc diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index b54df40..e4a4408 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -25,11 +25,7 @@ #include #endif -#include #include -#include -#include -#include #include #include #include @@ -42,7 +38,6 @@ #include "xcommon.h" #include "mount.h" #include "nls.h" -#include "nfs_mount.h" #include "mount_constants.h" #include "stropts.h" #include "error.h" @@ -51,15 +46,12 @@ #include "version.h" #include "parse_dev.h" -#ifdef HAVE_RPCSVC_NFS_PROT_H -#include -#else -#include -#define nfsstat nfs_stat +#ifndef NFS_PROGRAM +#define NFS_PROGRAM (100003) #endif #ifndef NFS_PORT -#define NFS_PORT 2049 +#define NFS_PORT (2049) #endif #ifndef NFS_MAXHOSTNAME