Преглед изворни кода

[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 пре 20 година
родитељ
комит
8afe31c9eb
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      arch/ppc64/boot/string.h

+ 1 - 0
arch/ppc64/boot/string.h

@@ -1,5 +1,6 @@
 #ifndef _PPC_BOOT_STRING_H_
 #ifndef _PPC_BOOT_STRING_H_
 #define _PPC_BOOT_STRING_H_
 #define _PPC_BOOT_STRING_H_
+#include <stddef.h>
 
 
 extern char *strcpy(char *dest, const char *src);
 extern char *strcpy(char *dest, const char *src);
 extern char *strncpy(char *dest, const char *src, size_t n);
 extern char *strncpy(char *dest, const char *src, size_t n);