aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/allocator/allocator.c1
-rw-r--r--render/allocator/drm_dumb.c6
-rw-r--r--render/allocator/gbm.c3
-rw-r--r--render/allocator/shm.c3
4 files changed, 11 insertions, 2 deletions
diff --git a/render/allocator/allocator.c b/render/allocator/allocator.c
index 0244e07a..15d55a0d 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/render/allocator.h>
#include <wlr/util/log.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
diff --git a/render/allocator/drm_dumb.c b/render/allocator/drm_dumb.c
index 170d9c33..5b47462b 100644
--- a/render/allocator/drm_dumb.c
+++ b/render/allocator/drm_dumb.c
@@ -7,11 +7,13 @@
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
+#include <wlr/backend.h>
+#include <wlr/backend/session.h>
+#include <wlr/render/allocator.h>
+#include <wlr/render/drm_format_set.h>
#include <wlr/util/log.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
-#include <wlr/backend.h>
-#include <wlr/backend/session.h>
#include "render/allocator/drm_dumb.h"
#include "render/pixel_format.h"
diff --git a/render/allocator/gbm.c b/render/allocator/gbm.c
index 86e4749b..b546e412 100644
--- a/render/allocator/gbm.c
+++ b/render/allocator/gbm.c
@@ -4,8 +4,11 @@
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
+#include <wlr/render/allocator.h>
+#include <wlr/render/drm_format_set.h>
#include <wlr/util/log.h>
#include <xf86drm.h>
+
#include "render/allocator/gbm.h"
static const struct wlr_buffer_impl buffer_impl;
diff --git a/render/allocator/shm.c b/render/allocator/shm.c
index 77054dbe..044d5eb1 100644
--- a/render/allocator/shm.c
+++ b/render/allocator/shm.c
@@ -3,7 +3,10 @@
#include <stdlib.h>
#include <sys/mman.h>
#include <unistd.h>
+#include <wlr/render/allocator.h>
+#include <wlr/render/drm_format_set.h>
#include <wlr/util/log.h>
+
#include "render/pixel_format.h"
#include "render/allocator/shm.h"
#include "util/shm.h"