diff mbox series

[uclibc-ng-devel,1/3] kvx: fix warning about __BITS_PER_LONG not being defined

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

Commit Message

Yann Sionneau Nov. 29, 2021, 3:33 p.m. UTC
Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
---
 libc/sysdeps/linux/kvx/bits/kernel_types.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Waldemar Brodkorb Dec. 23, 2021, 11:31 p.m. UTC | #1
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 mbox series

Patch

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;