Message ID | 20211129153335.32124-1-ysionneau@kalray.eu |
---|---|
State | Accepted |
Headers | show |
Series | [uclibc-ng-devel,1/3] kvx: fix warning about __BITS_PER_LONG not being defined | expand |
Hi Yann, finally pushed all three patches, seems I missed them. best regards Waldemar Yann Sionneau wrote, > Signed-off-by: Yann Sionneau <ysionneau@kalray.eu> > --- > libc/sysdeps/linux/kvx/bits/kernel_types.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libc/sysdeps/linux/kvx/bits/kernel_types.h b/libc/sysdeps/linux/kvx/bits/kernel_types.h > index 832b17674..8f6bda8e9 100644 > --- a/libc/sysdeps/linux/kvx/bits/kernel_types.h > +++ b/libc/sysdeps/linux/kvx/bits/kernel_types.h > @@ -7,6 +7,8 @@ > #ifndef __ASM_GENERIC_POSIX_TYPES_H > #define __ASM_GENERIC_POSIX_TYPES_H > > +#include <asm/bitsperlong.h> > + > typedef unsigned long __kernel_dev_t; > typedef unsigned long __kernel_ino_t; > typedef unsigned int __kernel_mode_t; > -- > 2.17.1 > > _______________________________________________ > devel mailing list -- devel@uclibc-ng.org > To unsubscribe send an email to devel-leave@uclibc-ng.org >
diff --git a/libc/sysdeps/linux/kvx/bits/kernel_types.h b/libc/sysdeps/linux/kvx/bits/kernel_types.h index 832b17674..8f6bda8e9 100644 --- a/libc/sysdeps/linux/kvx/bits/kernel_types.h +++ b/libc/sysdeps/linux/kvx/bits/kernel_types.h @@ -7,6 +7,8 @@ #ifndef __ASM_GENERIC_POSIX_TYPES_H #define __ASM_GENERIC_POSIX_TYPES_H +#include <asm/bitsperlong.h> + typedef unsigned long __kernel_dev_t; typedef unsigned long __kernel_ino_t; typedef unsigned int __kernel_mode_t;
Signed-off-by: Yann Sionneau <ysionneau@kalray.eu> --- libc/sysdeps/linux/kvx/bits/kernel_types.h | 2 ++ 1 file changed, 2 insertions(+)