Hello All,

When building linux-source-2.6.17 and linux-source-2.6.18 gcc complains
(at least on mips) about NULL being undefined in kallsyms.h.  The
following patches will fix it on .17 and .18, respectively.


--- a/include/linux/kallsyms.h  2006-11-13 14:51:37.000000000 -0800
+++ b/include/linux/kallsyms.h  2006-11-13 14:59:06.000000000 -0800
@@ -6,6 +6,7 @@
 #define _LINUX_KALLSYMS_H
 
 #include <linux/config.h>
+#include <stddef.h>
 
 #define KSYM_NAME_LEN 127





--- a/include/linux/kallsyms.h  2006-11-13 14:46:23.000000000 -0800
+++ b/include/linux/kallsyms.h  2006-11-13 14:49:43.000000000 -0800
@@ -5,6 +5,7 @@
 #ifndef _LINUX_KALLSYMS_H
 #define _LINUX_KALLSYMS_H
 
+#include <stddef.h>
 
 #define KSYM_NAME_LEN 127




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to