lkml.org 
[lkml]   [2002]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.5.17-cset1.656] patch to compile nfs (and maybe others)
Hi,
this trivial patch adds 3 missing #includes
without them at least nfs won't compile

Bye

diff -Nur test/linux-2.5.17/include/linux/dcache.h linux-2.5.17/include/linux/dcache.h
--- test/linux-2.5.17/include/linux/dcache.h Tue May 21 07:07:39 2002
+++ linux-2.5.17/include/linux/dcache.h Thu May 23 16:40:14 2002
@@ -6,6 +6,7 @@
#include <asm/atomic.h>
#include <linux/mount.h>
#include <asm/page.h> /* for BUG() */
+#include <linux/spinlock.h>

/*
* linux/include/linux/dcache.h
diff -Nur test/linux-2.5.17/include/linux/mount.h linux-2.5.17/include/linux/mount.h
--- test/linux-2.5.17/include/linux/mount.h Tue May 21 07:07:31 2002
+++ linux-2.5.17/include/linux/mount.h Thu May 23 18:18:23 2002
@@ -12,6 +12,8 @@
#define _LINUX_MOUNT_H
#ifdef __KERNEL__

+#include <linux/list.h>
+
#define MNT_NOSUID 1
#define MNT_NODEV 2
#define MNT_NOEXEC 4
diff -Nur test/linux-2.5.17/include/linux/namei.h linux-2.5.17/include/linux/namei.h
--- test/linux-2.5.17/include/linux/namei.h Thu May 23 17:51:37 2002
+++ linux-2.5.17/include/linux/namei.h Thu May 23 15:58:54 2002
@@ -1,6 +1,8 @@
#ifndef _LINUX_NAMEI_H
#define _LINUX_NAMEI_H

+#include <linux/linkage.h>
+
struct vfsmount;

struct nameidata {[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:26    [W:1.328 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site