summaryrefslogtreecommitdiffstats
path: root/tools/lpc.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-06-26 20:11:09 -0700
committerPatrick Venture <venture@google.com>2019-06-27 07:38:43 -0700
commit84778b8d630ecfb7dbac7ca98ae3e9778ae8cdde (patch)
tree184afd65923e791ff15549dcdc88c7fd101d462c /tools/lpc.cpp
parentf0c71df2514927e933f6fc33d9669ab0663a0706 (diff)
downloadphosphor-ipmi-flash-84778b8d630ecfb7dbac7ca98ae3e9778ae8cdde.tar.gz
phosphor-ipmi-flash-84778b8d630ecfb7dbac7ca98ae3e9778ae8cdde.zip
tools: remove phosphor-ipmi-blobs dependency
The host tool depended on the BMC header: firmware_handler.hpp because it defined the flags. This header depends on phosphor-ipmi-blobs, therefore the host-tool depends on this. Move the flags into a separate common header file and snip this dependency. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Id2ad33a1611c02605a1ed5c695429d0451eb98d4
Diffstat (limited to 'tools/lpc.cpp')
-rw-r--r--tools/lpc.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lpc.cpp b/tools/lpc.cpp
index 9359b92..7dbfaf3 100644
--- a/tools/lpc.cpp
+++ b/tools/lpc.cpp
@@ -16,9 +16,14 @@
#include "lpc.hpp"
+#include "data.hpp"
+
#include <cerrno>
+#include <cstdint>
#include <cstring>
#include <ipmiblob/blob_errors.hpp>
+#include <memory>
+#include <string>
namespace host_tool
{
OpenPOWER on IntegriCloud