From 394f3fb3437203dcea8a66d3983e4d720b8df0e4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Jan 2006 01:19:20 +0000 Subject: Aurelien Jacobs writes: The kernel include guard that uClibc rely on for POSIX_TYPES_H on ppc has changed in linux-2.6.15. Here is a trivial patch to fix this issue. --- libc/sysdeps/linux/powerpc/bits/kernel_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/powerpc') diff --git a/libc/sysdeps/linux/powerpc/bits/kernel_types.h b/libc/sysdeps/linux/powerpc/bits/kernel_types.h index 711ca4f21..223037545 100644 --- a/libc/sysdeps/linux/powerpc/bits/kernel_types.h +++ b/libc/sysdeps/linux/powerpc/bits/kernel_types.h @@ -4,9 +4,11 @@ * our private content, and not the kernel header, will win. * -Erik */ -#if ! defined _PPC_POSIX_TYPES_H && ! defined _PPC64_POSIX_TYPES_H +#if ! defined _PPC_POSIX_TYPES_H && ! defined _PPC64_POSIX_TYPES_H && \ + ! defined _ASM_POWERPC_POSIX_TYPES_H #define _PPC_POSIX_TYPES_H #define _PPC64_POSIX_TYPES_H +#define _ASM_POWERPC_POSIX_TYPES_H # if __WORDSIZE == 64 typedef unsigned int __kernel_dev_t; -- cgit v1.2.3