control: Use sdeventplus access delegate for getting event

Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: Ib945a061167946e7bf64edcb96587f236cdbcdce
diff --git a/control/main.cpp b/control/main.cpp
index cf6489b..7d19f58 100644
--- a/control/main.cpp
+++ b/control/main.cpp
@@ -22,6 +22,7 @@
 #include "json/manager.hpp"
 #endif
 #include "sdbusplus.hpp"
+#include "sdeventplus.hpp"
 
 #include <phosphor-logging/log.hpp>
 #include <sdbusplus/bus.hpp>
@@ -34,7 +35,7 @@
 
 int main(int argc, char* argv[])
 {
-    auto event = sdeventplus::Event::get_default();
+    auto event = phosphor::fan::util::SDEventPlus::getEvent();
 
 #ifndef CONTROL_USE_JSON
     phosphor::fan::util::ArgumentParser args(argc, argv);