svn commit: trunk/uClibc/libc/sysdeps/linux/powerpc/bits

vapier at uclibc.org vapier at uclibc.org
Wed Jan 11 01:19:22 UTC 2006


Author: vapier
Date: 2006-01-10 17:19:20 -0800 (Tue, 10 Jan 2006)
New Revision: 13225

Log:
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.


Modified:
   trunk/uClibc/libc/sysdeps/linux/powerpc/bits/kernel_types.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/powerpc/bits/kernel_types.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/powerpc/bits/kernel_types.h	2006-01-10 19:48:53 UTC (rev 13224)
+++ trunk/uClibc/libc/sysdeps/linux/powerpc/bits/kernel_types.h	2006-01-11 01:19:20 UTC (rev 13225)
@@ -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;




More information about the uClibc-cvs mailing list