<p dir="ltr">Ack! Thank you!</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 27, 2017, 06:51 Andrei Vagin <<a href="mailto:avagin@openvz.org">avagin@openvz.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Andrei Vagin <<a href="mailto:avagin@virtuozzo.com" target="_blank">avagin@virtuozzo.com</a>><br>
<br>
Otherwise someone can include kerndat.h before config.h<br>
and get another kerndat structure. For example, proc_parse<br>
doesn't include config.h and Cyrill met this problem.<br>
<br>
Cc: Dmitry Safonov <<a href="mailto:dsafonov@virtuozzo.com" target="_blank">dsafonov@virtuozzo.com</a>><br>
Cc: Cyrill Gorcunov <<a href="mailto:gorcunov@openvz.org" target="_blank">gorcunov@openvz.org</a>><br>
Signed-off-by: Andrei Vagin <<a href="mailto:avagin@virtuozzo.com" target="_blank">avagin@virtuozzo.com</a>><br>
---<br>
criu/include/kerndat.h | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/criu/include/kerndat.h b/criu/include/kerndat.h<br>
index 2035f79..8eaa06d 100644<br>
--- a/criu/include/kerndat.h<br>
+++ b/criu/include/kerndat.h<br>
@@ -3,6 +3,7 @@<br>
<br>
#include <stdbool.h><br>
#include "int.h"<br>
+#include "config.h"<br>
#ifdef CONFIG_VDSO<br>
#include "util-vdso.h"<br>
#endif<br>
--<br>
2.9.4<br>
<br>
</blockquote></div>