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
This commit is contained in:
Glenn L McGrath 2000-12-09 23:59:04 +00:00
parent 9df3833370
commit c52a97d79f
2 changed files with 12 additions and 0 deletions

View File

@ -53,6 +53,12 @@
#include "nfsmount.h" #include "nfsmount.h"
#include <linux/nfs.h> /* For the kernels nfs stuff */ #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 */ /* Disable the nls stuff */
# undef bindtextdomain # undef bindtextdomain

View File

@ -53,6 +53,12 @@
#include "nfsmount.h" #include "nfsmount.h"
#include <linux/nfs.h> /* For the kernels nfs stuff */ #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 */ /* Disable the nls stuff */
# undef bindtextdomain # undef bindtextdomain