From 00b096d1c8a95a83b78464d722bb0336091ddec4 Mon Sep 17 00:00:00 2001 From: Alexander Amelkin Date: Mon, 15 Apr 2019 15:11:03 +0300 Subject: Fix compilation warning regarding std::variant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When building with SDK, the compiler complains about ’variant’ being not a member of ’std’: .../pack.hpp:249:24: error: ‘variant’ is not a member of ‘std’ This commit adds appropriate #include to fix that. Change-Id: I99d6b7c17cbe1f49d706821797cf3fa03ca8c26a Signed-off-by: Alexander Amelkin --- include/ipmid/message/pack.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ipmid/message/pack.hpp b/include/ipmid/message/pack.hpp index 4314ac1..18863c4 100644 --- a/include/ipmid/message/pack.hpp +++ b/include/ipmid/message/pack.hpp @@ -22,6 +22,7 @@ #include #include #include +#include #include namespace ipmi -- cgit v1.2.1