The VDSO implementation includes headers from outside of the vdso/ namespace. Modify vdso/getrandom.h to include the getrandom asm header. Cc: Andy Lutomirski <luto@xxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Jason A. Donenfeld <Jason@xxxxxxxxx> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx> --- include/vdso/getrandom.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/vdso/getrandom.h b/include/vdso/getrandom.h index 6ca4d6de9e46..5cf3f75d6fb6 100644 --- a/include/vdso/getrandom.h +++ b/include/vdso/getrandom.h @@ -7,6 +7,7 @@ #define _VDSO_GETRANDOM_H #include <linux/types.h> +#include <asm/vdso/getrandom.h> #define CHACHA_KEY_SIZE 32 #define CHACHA_BLOCK_SIZE 64 -- 2.34.1