diff --git a/src/buffer.c b/src/buffer.c index d97bbbc..3cd78af 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include "linux-dmabuf-unstable-v1.h" @@ -32,6 +31,10 @@ #include "pixels.h" #include "config.h" +#ifdef ENABLE_SCREENCOPY_DMABUF +#include +#endif + extern struct wl_shm* wl_shm; extern struct zwp_linux_dmabuf_v1* zwp_linux_dmabuf; extern struct gbm_device* gbm_device;