diff options
author | Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> | 2007-11-05 14:50:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-05 15:12:32 -0800 |
commit | 5a75983eef1193c43caebde6643a218bd8d8390e (patch) | |
tree | 1dbfac460bf574fd3fa5c3a464b72228fd07a244 | |
parent | e1265205c0ee3919c3f2c750662630154c8faab2 (diff) | |
download | linux-5a75983eef1193c43caebde6643a218bd8d8390e.tar.gz linux-5a75983eef1193c43caebde6643a218bd8d8390e.tar.bz2 linux-5a75983eef1193c43caebde6643a218bd8d8390e.zip |
Missing include file in kallsyms.h
The Build with randconfig fails with following error with the
2.6.24-rc4-git9
include/linux/kallsyms.h:56: error: `NULL' undeclared (first use in this
function)
include/linux/kallsyms.h:56: error: (Each undeclared identifier is
reported only once
include/linux/kallsyms.h:56: error: for each function it appears in.)
make[2]: *** [arch/powerpc/platforms/cell/spu_callbacks.o] Error 1
make[1]: *** [arch/powerpc/platforms/cell] Error 2
make: *** [arch/powerpc/platforms] Error 2
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/kallsyms.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h index f73de6fb5c68..82de2fb62cb7 100644 --- a/include/linux/kallsyms.h +++ b/include/linux/kallsyms.h @@ -6,6 +6,7 @@ #define _LINUX_KALLSYMS_H #include <linux/errno.h> +#include <linux/stddef.h> #define KSYM_NAME_LEN 128 #define KSYM_SYMBOL_LEN (sizeof("%s+%#lx/%#lx [%s]") + (KSYM_NAME_LEN - 1) + \ |