summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2021-11-29 16:33:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-12-24 00:29:55 +0100
commit48a333b652e4874f9fccccbc608fcedbe25909ea (patch)
tree3faad86fd23ab6d8b5efa090c53346afe309d738 /libc/sysdeps/linux
parent67918f2bc3c4794d6d7e824963e5e0002d2ef10c (diff)
kvx: fix warning about __BITS_PER_LONG not being defined
Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/kvx/bits/kernel_types.h2
1 files changed, 2 insertions, 0 deletions
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;