Include <linux/jiffies.h> from linux/acct.h only in kernel-private part.
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 12:57:44 +0000 (13:57 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 12:57:44 +0000 (13:57 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/acct.h

index 9a66401..255b112 100644 (file)
@@ -16,7 +16,6 @@
 #define _LINUX_ACCT_H
 
 #include <linux/types.h>
-#include <linux/jiffies.h>
 
 #include <asm/param.h>
 #include <asm/byteorder.h>
@@ -165,6 +164,7 @@ typedef struct acct acct_t;
 #endif /* __KERNEL */
 
 #ifdef __KERNEL__
+#include <linux/jiffies.h>
 /*
  * Yet another set of HZ to *HZ helper functions.
  * See <linux/jiffies.h> for the original.