diff options
Diffstat (limited to 'src/includes.hpp')
| -rw-r--r-- | src/includes.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/includes.hpp b/src/includes.hpp index 29737fbb..8c804ceb 100644 --- a/src/includes.hpp +++ b/src/includes.hpp @@ -105,8 +105,11 @@ extern "C" { #include <drm_fourcc.h> -#ifndef NO_XWAYLAND +#if WLR_HAS_X11_BACKEND #include <wlr/backend/x11.h> +#endif + +#ifndef NO_XWAYLAND #include <wlr/xwayland.h> #endif } @@ -127,6 +130,10 @@ extern "C" { #include <GLES3/gl3ext.h> #endif +#if !WLR_HAS_X11_BACKEND +#include "helpers/X11Stubs.hpp" +#endif + #ifdef NO_XWAYLAND #define XWAYLAND false #include "helpers/XWaylandStubs.hpp" |
