diff options
| author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-09 23:59:04 +0000 |
|---|---|---|
| committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-09 23:59:04 +0000 |
| commit | cb34b424df50527309d8db7ddd29ea68fca1ac8c (patch) | |
| tree | 943fc9949acd3e0218168226ec84fdacf4ad6af5 /util-linux | |
| parent | 2ee5e125bc255212012528d8d6118a0a9844d90a (diff) | |
| download | busybox-w32-cb34b424df50527309d8db7ddd29ea68fca1ac8c.tar.gz busybox-w32-cb34b424df50527309d8db7ddd29ea68fca1ac8c.tar.bz2 busybox-w32-cb34b424df50527309d8db7ddd29ea68fca1ac8c.zip | |
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
git-svn-id: svn://busybox.net/trunk/busybox@1413 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/nfsmount.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ | |||
| 53 | #include "nfsmount.h" | 53 | #include "nfsmount.h" |
| 54 | #include <linux/nfs.h> /* For the kernels nfs stuff */ | 54 | #include <linux/nfs.h> /* For the kernels nfs stuff */ |
| 55 | 55 | ||
| 56 | #ifndef NFS_FHSIZE | ||
| 57 | #define NFS_FHSIZE 32 | ||
| 58 | #endif | ||
| 59 | #ifndef NFS_PORT | ||
| 60 | #define NFS_PORT 2049 | ||
| 61 | #endif | ||
| 56 | 62 | ||
| 57 | /* Disable the nls stuff */ | 63 | /* Disable the nls stuff */ |
| 58 | # undef bindtextdomain | 64 | # undef bindtextdomain |
