[PATCH 3/13] ppc64 boot: missing include for size_t

Olaf Hering olh at suse.de
Mon Oct 10 04:19:35 EST 2005


string.h needs definition of size_t, but not the one from linux/include

Signed-off-by: Olaf Hering <olh at suse.de>

 arch/ppc64/boot/string.h |    1 +
 1 files changed, 1 insertion(+)

Index: linux-2.6.14-rc3/arch/ppc64/boot/string.h
===================================================================
--- linux-2.6.14-rc3.orig/arch/ppc64/boot/string.h
+++ linux-2.6.14-rc3/arch/ppc64/boot/string.h
@@ -1,5 +1,6 @@
 #ifndef _PPC_BOOT_STRING_H_
 #define _PPC_BOOT_STRING_H_
+#include <stddef.h>
 
 extern char *strcpy(char *dest, const char *src);
 extern char *strncpy(char *dest, const char *src, size_t n);



More information about the Linuxppc64-dev mailing list