commit | b7d431199ac519e7c3cd5f3341d67f2ff0e09e10 | [log] [tgz] |
---|---|---|
author | Benjamin Fair <benjaminfair@google.com> | Wed May 20 09:39:11 2020 -0700 |
committer | Benjamin Fair <benjaminfair@google.com> | Wed May 20 09:40:14 2020 -0700 |
tree | 83f89d30b886c7f2ee8f823744d63d04367c1e8e | |
parent | 2da4d98236d46de9adc664a22f5895dfdbfc65fc [diff] |
Add missing cstdio include This fixes a build error where std::fprintf can't be found. Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: Ie22697732ae8b51e58ec5d5c907cc4839d5dc892
diff --git a/i2c.cpp b/i2c.cpp index ff5a66b..546a872 100644 --- a/i2c.cpp +++ b/i2c.cpp
@@ -24,6 +24,7 @@ #include <array> #include <cerrno> +#include <cstdio> #include <cstring> #include <ipmid/iana.hpp> #include <ipmid/oemopenbmc.hpp>