Explorar el Código

kvx: fix warning about __BITS_PER_LONG not being defined

Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Yann Sionneau hace 4 años
padre
commit
48a333b652
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;