summaryrefslogtreecommitdiffstats
path: root/monitor/fan.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/fan.hpp')
-rw-r--r--monitor/fan.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor/fan.hpp b/monitor/fan.hpp
index 910b4eb..8e7f86f 100644
--- a/monitor/fan.hpp
+++ b/monitor/fan.hpp
@@ -3,6 +3,7 @@
#include <sdbusplus/bus.hpp>
#include <tuple>
#include <vector>
+#include "event.hpp"
#include "tach_sensor.hpp"
#include "types.hpp"
@@ -72,7 +73,7 @@ class Fan
* @param def - the fan definition structure
*/
Fan(sdbusplus::bus::bus& bus,
- std::shared_ptr<sd_event>& events,
+ phosphor::fan::event::EventPtr& events,
const FanDefinition& def);
/**
OpenPOWER on IntegriCloud