diff --git a/criu/arch/x86/crtools.c b/criu/arch/x86/crtools.c index b9ce6e7da..ba0145b27 100644 --- a/criu/arch/x86/crtools.c +++ b/criu/arch/x86/crtools.c @@ -6,6 +6,7 @@ #include #include "types.h" +#include "log.h" #include "asm/parasite-syscall.h" #include "asm/restorer.h" #include @@ -16,7 +17,6 @@ #include "restorer.h" #include #include "parasite-syscall.h" -#include "log.h" #include "util.h" #include "cpu.h" #include diff --git a/criu/arch/x86/sigaction_compat.c b/criu/arch/x86/sigaction_compat.c index 0e9e23bdd..168d3ddb0 100644 --- a/criu/arch/x86/sigaction_compat.c +++ b/criu/arch/x86/sigaction_compat.c @@ -1,3 +1,4 @@ +#include "log.h" #include "asm/restorer.h" #include #include "asm/string.h" @@ -10,7 +11,6 @@ # define __NR32_rt_sigaction 174 # endif #endif -#include "log.h" #include "cpu.h" asm ( " .pushsection .text \n" diff --git a/criu/sigframe.c b/criu/sigframe.c index b2dd85add..2b5ae7658 100644 --- a/criu/sigframe.c +++ b/criu/sigframe.c @@ -1,5 +1,6 @@ #include #include +#include "log.h" #include "restore.h" #include "images/core.pb-c.h"