Browse Source

ppc: Fix compile error in arch/ppc/lib/strcase.c

Now that the strncasecmp implementation takes a size_t third parameter,
we need to get a definition of size_t from somewhere.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Paul Mackerras 19 năm trước cách đây
mục cha
commit
056cb48a2f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      arch/ppc/lib/strcase.c

+ 1 - 0
arch/ppc/lib/strcase.c

@@ -1,4 +1,5 @@
 #include <linux/ctype.h>
+#include <linux/types.h>
 
 int strcasecmp(const char *s1, const char *s2)
 {