diff options
author | Simon Ser <contact@emersion.fr> | 2022-03-03 15:38:26 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-03-03 15:39:05 +0100 |
commit | 39b68ea47a661b1f7562ce283652de08f222b2be (patch) | |
tree | ef00d4ccae8e112de3753c9e5203c34921d09090 /render | |
parent | d0718a9b32dc9d80b35eae269b60a22caa9c268f (diff) |
buffer: extract interface to separate header
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3389
Diffstat (limited to 'render')
-rw-r--r-- | render/allocator/allocator.c | 1 | ||||
-rw-r--r-- | render/allocator/drm_dumb.c | 1 | ||||
-rw-r--r-- | render/allocator/gbm.c | 1 | ||||
-rw-r--r-- | render/allocator/shm.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/render/allocator/allocator.c b/render/allocator/allocator.c index 5108ad04..0597cf25 100644 --- a/render/allocator/allocator.c +++ b/render/allocator/allocator.c @@ -3,6 +3,7 @@ #include <fcntl.h> #include <stdlib.h> #include <unistd.h> +#include <wlr/interfaces/wlr_buffer.h> #include <wlr/render/allocator.h> #include <wlr/util/log.h> #include <xf86drm.h> diff --git a/render/allocator/drm_dumb.c b/render/allocator/drm_dumb.c index 5b47462b..e2812ecb 100644 --- a/render/allocator/drm_dumb.c +++ b/render/allocator/drm_dumb.c @@ -9,6 +9,7 @@ #include <unistd.h> #include <wlr/backend.h> #include <wlr/backend/session.h> +#include <wlr/interfaces/wlr_buffer.h> #include <wlr/render/allocator.h> #include <wlr/render/drm_format_set.h> #include <wlr/util/log.h> diff --git a/render/allocator/gbm.c b/render/allocator/gbm.c index 8f73862a..8c670774 100644 --- a/render/allocator/gbm.c +++ b/render/allocator/gbm.c @@ -4,6 +4,7 @@ #include <fcntl.h> #include <stdlib.h> #include <unistd.h> +#include <wlr/interfaces/wlr_buffer.h> #include <wlr/render/allocator.h> #include <wlr/render/drm_format_set.h> #include <wlr/util/log.h> diff --git a/render/allocator/shm.c b/render/allocator/shm.c index 044d5eb1..9e49a144 100644 --- a/render/allocator/shm.c +++ b/render/allocator/shm.c @@ -3,6 +3,7 @@ #include <stdlib.h> #include <sys/mman.h> #include <unistd.h> +#include <wlr/interfaces/wlr_buffer.h> #include <wlr/render/allocator.h> #include <wlr/render/drm_format_set.h> #include <wlr/util/log.h> |