From 0e951da64b000c5640a6a7b9db16f93cc599e336 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 14 Oct 2020 14:37:28 +0200 Subject: [PATCH] event/Loop: add missing #ifdef --- src/event/Loop.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx index 376e10300..6d78070a1 100644 --- a/src/event/Loop.cxx +++ b/src/event/Loop.cxx @@ -21,9 +21,12 @@ #include "TimerEvent.hxx" #include "SocketMonitor.hxx" #include "IdleEvent.hxx" -#include "DeferEvent.hxx" #include "util/ScopeExit.hxx" +#ifdef HAVE_THREADED_EVENT_LOOP +#include "DeferEvent.hxx" +#endif + #ifdef HAVE_URING #include "UringManager.hxx" #include "util/PrintException.hxx"