summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xwayland/Dnd.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xwayland/Dnd.hpp b/src/xwayland/Dnd.hpp
index 58129741..33c841a5 100644
--- a/src/xwayland/Dnd.hpp
+++ b/src/xwayland/Dnd.hpp
@@ -5,7 +5,9 @@
#include "../managers/input/InputManager.hpp"
#include <wayland-server-protocol.h>
#include <hyprutils/os/FileDescriptor.hpp>
+#ifndef NO_XWAYLAND
#include <xcb/xcb.h>
+#endif
#define XDND_VERSION 5