Browse Source

kvx: fix warning about __BITS_PER_LONG not being defined

Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Yann Sionneau 2 years ago
parent
commit
48a333b652
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/sysdeps/linux/kvx/bits/kernel_types.h

+ 2 - 0
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;