summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-10-28 17:46:37 -0700
committerPaul Mackerras <paulus@samba.org>2005-10-29 15:04:21 +1000
commit8afe31c9eb92389f091a40def9650278ca66befd (patch)
treed38686ff420bc310519d55ba71787834bfd4a2c4
parent146c98782b57531ce6ba89dfa9d3771c0fd0a94d (diff)
[PATCH] ppc64 boot: missing include for size_t
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>
-rw-r--r--arch/ppc64/boot/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc64/boot/string.h b/arch/ppc64/boot/string.h
index 9289258bcbd6..9fdff1cc0d70 100644
--- a/arch/ppc64/boot/string.h
+++ b/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);