summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-06-07 18:47:09 +0000
committerErik Troan <ewt@redhat.com>2000-06-07 18:47:09 +0000
commit5111c40cf4025988ab370affd48463114a731d4f (patch)
treeaef2c469947080e7fac9dad7fecc3eb6b2d004e5 /isys
parentae43de7c7ea6641b14b2253b3950da48605da9b8 (diff)
downloadanaconda-5111c40cf4025988ab370affd48463114a731d4f.tar.gz
anaconda-5111c40cf4025988ab370affd48463114a731d4f.tar.xz
anaconda-5111c40cf4025988ab370affd48463114a731d4f.zip
hacks to build against 2.4
Diffstat (limited to 'isys')
-rw-r--r--isys/nfs_mount3.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/isys/nfs_mount3.h b/isys/nfs_mount3.h
index e5c2b2fe4..5bc2a198e 100644
--- a/isys/nfs_mount3.h
+++ b/isys/nfs_mount3.h
@@ -8,12 +8,19 @@
#if KERNEL_NFS_MOUNT_VERSION >= 3
-/*
- * The kernel includes are at least as good as this file.
- * Use them.
- */
+#define _LINUX_IN_H 1
+
+#define __KERNEL__
+#include <linux/nfs.h>
+#undef __KERNEL__
+
+#include <linux/nfs2.h>
#include <linux/nfs_mount.h>
+#ifndef NFS_VERSION
+#define NFS_VERSION 2
+#endif
+
#else /* KERNEL_NFS_MOUNT_VERSION < 3 */
/*