Commit 014c2a82 authored by Max Kellermann's avatar Max Kellermann

event/SignalMonitor: fix non-Linux build failure

parent 594dfe57
......@@ -57,7 +57,7 @@ public:
explicit SignalMonitor(EventLoop &_loop)
:event(_loop, BIND_THIS_METHOD(OnSocketReady)) {
#ifndef USE_SIGNALFD
event.Open(SocketDescriptor(fd.Get()));
event.Open(fd.GetSocket());
event.ScheduleRead();
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment