6dba1b6760
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>
14 lines
238 B
C
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__ */
|