diff options
Diffstat (limited to 'include/uapi/asm-generic/posix_types.h')
-rw-r--r-- | include/uapi/asm-generic/posix_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/asm-generic/posix_types.h b/include/uapi/asm-generic/posix_types.h index fe74fccf18d..85bbd1160d5 100644 --- a/include/uapi/asm-generic/posix_types.h +++ b/include/uapi/asm-generic/posix_types.h @@ -1,7 +1,12 @@ #ifndef __ASM_GENERIC_POSIX_TYPES_H #define __ASM_GENERIC_POSIX_TYPES_H +#if !defined(__arm__) && !defined(__aarch64__) #include <asm/bitsperlong.h> +#else +#include <asm-generic/bitsperlong.h> +#endif + /* * This file is generally used by user-level software, so you need to * be a little careful about namespace pollution etc. |