Commit 07283b37 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

vdso: Diet include/vdso.h

In commit 2f5df09d
we included asm/type.h for bool definition. This
is fine in terms of CRIU but makes cpt2 converter
to carry the whole asm/type.h, sometimes causing
error due to confilicting definitions.

So lets be simplier and include <stdbool.h> instead.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 8feb155d
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
#define __CR_VDSO_H__ #define __CR_VDSO_H__
#include <sys/mman.h> #include <sys/mman.h>
#include <stdbool.h>
#include "asm/vdso.h" #include "asm/vdso.h"
#include "asm/int.h" #include "asm/int.h"
#include "asm/types.h"
#define VDSO_PROT (PROT_READ | PROT_EXEC) #define VDSO_PROT (PROT_READ | PROT_EXEC)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment