alistair23-linux/include/asm-sh/posix_types.h
Paul Mundt 6dba1b6760 sh: Fix more user header breakage from sh64 integration.
posix_types.h and byteorder.h were sticking purely with the Kconfig
symbols, which doesn't work when we scrub the headers for user use.

Fixes a very unhelpful build error in current klibc.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-03-14 17:21:09 +09:00

14 lines
238 B
C

#ifdef __KERNEL__
# ifdef CONFIG_SUPERH32
# include "posix_types_32.h"
# else
# include "posix_types_64.h"
# endif
#else
# ifdef __SH5__
# include "posix_types_64.h"
# else
# include "posix_types_32.h"
# endif
#endif /* __KERNEL__ */