* [patch 24/43] ppc64 boot: missing include for size_t
@ 2005-10-29 0:46 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2005-10-29 0:46 UTC (permalink / raw)
To: paulus; +Cc: akpm, linuxppc-dev, olh, linuxppc64-dev
From: Olaf Hering <olh@suse.de>
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>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@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);
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-29 0:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-29 0:46 [patch 24/43] ppc64 boot: missing include for size_t akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox