[PATCH] silo: include stddef.h in stringops.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I recompiled toolchain/glibc/everything from scratch against Linux 3.4
headers and silo won't compile anymore:

	file.c:60:5: error: 'NULL' undeclared here (not in a function)
	fs/ext2.c:401:7: error: 'NULL' undeclared (first use in this function)
	fs/isofs.c:57:45: error: 'NULL' undeclared (first use in this function)
	etc.

Fix by including stddef.h.

Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx>
---
 include/stringops.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/stringops.h b/include/stringops.h
index 9973485..4fca34f 100644
--- a/include/stringops.h
+++ b/include/stringops.h
@@ -2,6 +2,7 @@
 #define __STRINGOPS_H
 
 #include <silo.h>
+#include <stddef.h>
 
 /* common */
 #ifndef __SIZE_TYPE__
-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux