NFS_PORT and NFS_FHSIZE are not defined in the kernel headers that come with libc6...
authorGlenn L McGrath <bug1@ihug.co.nz>
Sat, 9 Dec 2000 23:59:04 +0000 (23:59 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sat, 9 Dec 2000 23:59:04 +0000 (23:59 -0000)
This just defines that if they arent found in the kernel header

nfsmount.c
util-linux/nfsmount.c

index a8c0b0ea68b834aa8310e8cbaed8cb9b8cda32c7..ae9b99552ff9fdabc0e68d5d87b8df78d54fffc1 100644 (file)
 #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
index a8c0b0ea68b834aa8310e8cbaed8cb9b8cda32c7..ae9b99552ff9fdabc0e68d5d87b8df78d54fffc1 100644 (file)
 #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