From c52a97d79fc6852abe1c04b3c4873a38ea443384 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sat, 9 Dec 2000 23:59:04 +0000 Subject: NFS_PORT and NFS_FHSIZE are not defined in the kernel headers that come with libc6-2.2-5 This just defines that if they arent found in the kernel header --- util-linux/nfsmount.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'util-linux/nfsmount.c') diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c index a8c0b0ea6..ae9b99552 100644 --- a/util-linux/nfsmount.c +++ b/util-linux/nfsmount.c @@ -53,6 +53,12 @@ #include "nfsmount.h" #include /* For the kernels nfs stuff */ +#ifndef NFS_FHSIZE +#define NFS_FHSIZE 32 +#endif +#ifndef NFS_PORT +#define NFS_PORT 2049 +#endif /* Disable the nls stuff */ # undef bindtextdomain -- cgit v1.2.3