From aff44dd424f62c3ec44dc24eabb66d3820282b13 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Wed, 28 Jun 2017 03:53:33 +0300 Subject: [PATCH] aarch/vdso: include common/compiler.h before use __maybe_unused In file included from criu/include/util-vdso.h:23:0, from criu/include/kerndat.h:8, from criu/lsm.c:8: criu/arch/aarch64/include/asm/vdso.h:17:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aarch_vdso_symbol1' static const char* __maybe_unused aarch_vdso_symbol1 = "__kernel_clock_getres"; Signed-off-by: Andrei Vagin --- criu/arch/aarch64/include/asm/vdso.h | 1 + 1 file changed, 1 insertion(+) diff --git a/criu/arch/aarch64/include/asm/vdso.h b/criu/arch/aarch64/include/asm/vdso.h index 34d723f6c..a7802a279 100644 --- a/criu/arch/aarch64/include/asm/vdso.h +++ b/criu/arch/aarch64/include/asm/vdso.h @@ -2,6 +2,7 @@ #define __CR_ASM_VDSO_H__ #include "asm/int.h" +#include "common/compiler.h" #include "asm-generic/vdso.h" /*