[PATCH] log: Include inttypes.h for PRI helpers

Cyrill Gorcunov gorcunov at openvz.org
Thu Apr 24 11:57:57 PDT 2014


https://bugzilla.openvz.org/show_bug.cgi?id=2949

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/log.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/log.h b/include/log.h
index 9948098df8c4..65a65ac7dd5a 100644
--- a/include/log.h
+++ b/include/log.h
@@ -1,6 +1,8 @@
 #ifndef __CR_LOG_H__
 #define __CR_LOG_H__
 
+#include <inttypes.h>
+
 #include "criu-log.h"
 
 extern int log_init(const char *output);
-- 
1.8.3.1


--0OAP2g/MAC+5xKAE--


More information about the CRIU mailing list