chassis_check_power_status: fix missing include
File was attempting to use a namespace which is only defined in a
phosphor-dbus-interfaces generated file, but wasn't including that
file. This use to work because phosphor-logging happened to be
generating some forward-declarations, but it is no longer generating
the same ones. Fix the code to use the appropriate include.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I910085b6a7fc3277e991d027ed180a0ef022c1e5
diff --git a/chassis_check_power_status.cpp b/chassis_check_power_status.cpp
index c26951a..20f95e6 100644
--- a/chassis_check_power_status.cpp
+++ b/chassis_check_power_status.cpp
@@ -9,6 +9,7 @@
#include <phosphor-logging/lg2.hpp>
#include <sdbusplus/exception.hpp>
#include <sdbusplus/server.hpp>
+#include <xyz/openbmc_project/Common/error.hpp>
#include <iostream>
#include <map>