소스 검색

kvx: fix warning about __BITS_PER_LONG not being defined

Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Yann Sionneau 4 년 전
부모
커밋
48a333b652
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;