[PATCH] cred: #include init.h in cred.h

From: Alexey Dobriyan
Date: Fri May 08 2009 - 23:36:12 EST


linux/cred.h can't be included as first header (alphabetical order)
because it uses __init which is enough to break compilation on some
archs.

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

include/linux/cred.h | 1 +
1 file changed, 1 insertion(+)

commit f3e00c7d1ece60a019b15ea4992821834fe21a31
Author: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Date: Fri May 8 20:46:18 2009 +0400

cred.h: init.h

--- a/include/linux/cred.h
+++ b/include/linux/cred.h
@@ -13,6 +13,7 @@
#define _LINUX_CRED_H

#include <linux/capability.h>
+#include <linux/init.h>
#include <linux/key.h>
#include <asm/atomic.h>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/