Explorar o código

[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>
Olaf Hering %!s(int64=20) %!d(string=hai) anos
pai
achega
8afe31c9eb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      arch/ppc64/boot/string.h

+ 1 - 0
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);