kernel_types.h 602 B

1234567891011121314151617181920
  1. #ifndef _BITS_KERNEL_TYPES_H
  2. #define _BITS_KERNEL_TYPES_H
  3. /* Sigh. We need to carefully wrap this one... No guarantees
  4. * that the asm/posix_types.h kernel header is working. Many
  5. * arches have broken headers that introduce tons of gratuitous
  6. * conflicts with uClibc's namespace. See bits/kernel_types.h
  7. * for i386, arm, etc for examples... */
  8. #warning You really should include a proper bits/kernel_types.h for your architecture
  9. #ifndef __GLIBC__
  10. #define __GLIBC__ 2
  11. #include <asm/posix_types.h>
  12. #undef __GLIBC__
  13. #else
  14. #include <asm/posix_types.h>
  15. #endif
  16. #endif /* _BITS_KERNEL_TYPES_H */