[PATCH] ppc64 boot: missing include for size_t
authorOlaf Hering <olh@suse.de>
Sat, 29 Oct 2005 00:46:37 +0000 (17:46 -0700)
committerPaul Mackerras <paulus@samba.org>
Sat, 29 Oct 2005 05:04:21 +0000 (15:04 +1000)
string.h needs definition of size_t, but not the one from linux/include

Signed-off-by: Olaf Hering <olh@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/boot/string.h

index 9289258bcbd630100e506c6b2cf2513183bd4603..9fdff1cc0d70fd6e77e3f069db72e123ab901bdc 100644 (file)
@@ -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);