diff --git a/src/xwayland/Dnd.cpp b/src/xwayland/Dnd.cpp index 488ee8dde..fed1914ab 100644 --- a/src/xwayland/Dnd.cpp +++ b/src/xwayland/Dnd.cpp @@ -1,7 +1,9 @@ #include "Dnd.hpp" +#ifndef NO_XWAYLAND #include "XWM.hpp" #include "XWayland.hpp" #include "Server.hpp" +#endif #include "../managers/XWaylandManager.hpp" #include "../desktop/WLSurface.hpp"