criu/0001-log-Include-inttypes.h-for-PRI-helpers.patch
2014-08-07 19:12:29 +04:00

31 lines
753 B
Diff

From 0c89d779f93ea95398dfbcda079eb3ad2424c0ca Mon Sep 17 00:00:00 2001
From: Cyrill Gorcunov <gorcunov@openvz.org>
Date: Thu, 24 Apr 2014 22:57:57 +0400
Subject: [PATCH] log: Include inttypes.h for PRI helpers
https://bugzilla.openvz.org/show_bug.cgi?id=2949
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
---
include/log.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/log.h b/include/log.h
index 9948098..65a65ac 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.9.3