aboutsummaryrefslogtreecommitdiff
path: root/nfsmount.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2000-12-09 23:59:04 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2000-12-09 23:59:04 +0000
commitc52a97d79fc6852abe1c04b3c4873a38ea443384 (patch)
tree943fc9949acd3e0218168226ec84fdacf4ad6af5 /nfsmount.c
parent9df383337043e2890060872628cc6cc6e5825b79 (diff)
downloadbusybox-c52a97d79fc6852abe1c04b3c4873a38ea443384.tar.gz
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
Diffstat (limited to 'nfsmount.c')
-rw-r--r--nfsmount.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nfsmount.c b/nfsmount.c
index a8c0b0ea6..ae9b99552 100644
--- a/nfsmount.c
+++ b/nfsmount.c
@@ -53,6 +53,12 @@
#include "nfsmount.h"
#include <linux/nfs.h> /* 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