From e4c449107f03c4313b088cc7d2014e8e5d0bdf86 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 22 May 2002 10:51:55 -0700 Subject: Fix build fallout from namei.h/jiffies.h changes. - Include dcache.h/namei.h in fs/autofs/autofs_i.h not dirhash.c - Include list.h and spinlock.h in dcache.h - Include list.h in mount.h and namei.h --- include/linux/dcache.h | 2 ++ include/linux/jiffies.h | 2 ++ include/linux/mount.h | 2 ++ include/linux/namei.h | 2 ++ 4 files changed, 8 insertions(+) (limited to 'include/linux') diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 74b2d6385ffc..897d414ac466 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -5,6 +5,8 @@ #include #include +#include +#include #include /* for BUG() */ /* diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h index a33b2bcfc625..b9e45f803c13 100644 --- a/include/linux/jiffies.h +++ b/include/linux/jiffies.h @@ -1,6 +1,8 @@ #ifndef _LINUX_JIFFIES_H #define _LINUX_JIFFIES_H +#include + /* * The 64-bit value is not volatile - you MUST NOT read it * without holding read_lock_irq(&xtime_lock) diff --git a/include/linux/mount.h b/include/linux/mount.h index f13b4589babc..d02e7845565a 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h @@ -12,6 +12,8 @@ #define _LINUX_MOUNT_H #ifdef __KERNEL__ +#include + #define MNT_NOSUID 1 #define MNT_NODEV 2 #define MNT_NOEXEC 4 diff --git a/include/linux/namei.h b/include/linux/namei.h index 2c789cf0d4fc..7743d290e46e 100644 --- a/include/linux/namei.h +++ b/include/linux/namei.h @@ -1,6 +1,8 @@ #ifndef _LINUX_NAMEI_H #define _LINUX_NAMEI_H +#include + struct vfsmount; struct nameidata { -- cgit v1.2.3