[patch 24/43] ppc64 boot: missing include for size_t

akpm at osdl.org akpm at osdl.org
Sat Oct 29 10:46:37 EST 2005


From: Olaf Hering <olh at suse.de>

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

Signed-off-by: Olaf Hering <olh at suse.de>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Anton Blanchard <anton at samba.org>
Cc: Paul Mackerras <paulus at samba.org>
Signed-off-by: Andrew Morton <akpm at osdl.org>
---

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

diff -puN arch/ppc64/boot/string.h~ppc64-boot-missing-include-for-size_t arch/ppc64/boot/string.h
--- devel/arch/ppc64/boot/string.h~ppc64-boot-missing-include-for-size_t	2005-10-28 17:44:04.000000000 -0700
+++ devel-akpm/arch/ppc64/boot/string.h	2005-10-28 17:44:04.000000000 -0700
@@ -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