Selaa lähdekoodia

Fix SH bits/kernel_types.h for new kernel headers.

Recent SH kernel headers merge 32-bit and 64-bit headers, changing the
include guards on asm/posix_types.h in the process; update uClibc code
depending on those include guards.

Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Joseph Myers 15 vuotta sitten
vanhempi
commit
75aad665cc
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      libc/sysdeps/linux/sh/bits/kernel_types.h

+ 2 - 1
libc/sysdeps/linux/sh/bits/kernel_types.h

@@ -4,8 +4,9 @@
  * our private content, and not the kernel header, will win.
  *  -Erik
  */
-#ifndef __ASM_SH_POSIX_TYPES_H
+#if !defined __ASM_SH_POSIX_TYPES_H && !defined __ASM_SH_POSIX_TYPES_32_H
 #define __ASM_SH_POSIX_TYPES_H
+#define __ASM_SH_POSIX_TYPES_32_H
 
 typedef unsigned short	__kernel_dev_t;
 typedef unsigned long	__kernel_ino_t;