Only include ipmid/api.hpp for the new API
After some feedback from users of the new IPMI API, they wanted to see
two things:
1) don't require ipmid/api.hpp and ipmid/registration.hpp to be able to
write new handlers
2) only require including ipmid/api.hpp (instead of ipmid/api.h)
So now, by simply including ipmid/api.hpp instead of ipmid/api.h
(deprecated), handlers incorporating the new IPMI API can be written.
Change-Id: I446dcce70cff03d4ecc28c658292d052485f77fc
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/storageaddsel.cpp b/storageaddsel.cpp
index 5adb673..6b53f87 100644
--- a/storageaddsel.cpp
+++ b/storageaddsel.cpp
@@ -3,7 +3,6 @@
#include "sensorhandler.hpp"
#include "storagehandler.hpp"
-#include <ipmid/api.h>
#include <mapper.h>
#include <systemd/sd-bus.h>
@@ -12,6 +11,7 @@
#include <cstring>
#include <fstream>
#include <iostream>
+#include <ipmid/api.hpp>
#include <ipmid/types.hpp>
#include <memory>
#include <phosphor-logging/elog.hpp>