summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Hering2005-10-29 02:46:37 +0200
committerPaul Mackerras2005-10-29 07:04:21 +0200
commit8afe31c9eb92389f091a40def9650278ca66befd (patch)
treed38686ff420bc310519d55ba71787834bfd4a2c4
parent[PATCH] ppc64 boot: remove include from include/linux/zutil.h (diff)
downloadkernel-qcow2-linux-8afe31c9eb92389f091a40def9650278ca66befd.tar.gz
kernel-qcow2-linux-8afe31c9eb92389f091a40def9650278ca66befd.tar.xz
kernel-qcow2-linux-8afe31c9eb92389f091a40def9650278ca66befd.zip
[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);