diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-03-14 17:21:09 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-03-14 17:21:09 +0900 |
commit | 6dba1b67601685ff00ef5d08cc4f11db00cff598 (patch) | |
tree | f8eaed5afa2c8aa79bbc50bd3c1e10ceea1af7e1 /include/asm-sh/posix_types.h | |
parent | 66b5bf4216631628788bc48b028c203e8538f43e (diff) |
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>
Diffstat (limited to 'include/asm-sh/posix_types.h')
-rw-r--r-- | include/asm-sh/posix_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sh/posix_types.h b/include/asm-sh/posix_types.h index 4b9d11c9fc7..4eeb723aee7 100644 --- a/include/asm-sh/posix_types.h +++ b/include/asm-sh/posix_types.h @@ -4,4 +4,10 @@ # else # include "posix_types_64.h" # endif +#else +# ifdef __SH5__ +# include "posix_types_64.h" +# else +# include "posix_types_32.h" +# endif #endif /* __KERNEL__ */ |