diff options
author | Olaf Hering <olh@suse.de> | 2005-10-28 20:46:37 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-29 01:04:21 -0400 |
commit | 8afe31c9eb92389f091a40def9650278ca66befd (patch) | |
tree | d38686ff420bc310519d55ba71787834bfd4a2c4 /arch/ppc64/boot | |
parent | 146c98782b57531ce6ba89dfa9d3771c0fd0a94d (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>
Diffstat (limited to 'arch/ppc64/boot')
-rw-r--r-- | arch/ppc64/boot/string.h | 1 |
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 @@ | |||
1 | #ifndef _PPC_BOOT_STRING_H_ | 1 | #ifndef _PPC_BOOT_STRING_H_ |
2 | #define _PPC_BOOT_STRING_H_ | 2 | #define _PPC_BOOT_STRING_H_ |
3 | #include <stddef.h> | ||
3 | 4 | ||
4 | extern char *strcpy(char *dest, const char *src); | 5 | extern char *strcpy(char *dest, const char *src); |
5 | extern char *strncpy(char *dest, const char *src, size_t n); | 6 | extern char *strncpy(char *dest, const char *src, size_t n); |