diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-11 01:19:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-11 01:19:20 +0000 |
commit | 394f3fb3437203dcea8a66d3983e4d720b8df0e4 (patch) | |
tree | e28a56cace12e4b4b4cd1ca2a4290ca7691ddc53 /libc/sysdeps/linux/powerpc/bits | |
parent | a2580d67e402a511d0ffadc247db2fb172efbaee (diff) |
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.
Diffstat (limited to 'libc/sysdeps/linux/powerpc/bits')
-rw-r--r-- | libc/sysdeps/linux/powerpc/bits/kernel_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |