aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-11-11 11:58:14 +1300
committerScott Anderson <scott@anderso.nz>2018-11-13 10:40:52 +1300
commitab2c57984bd66b19dde6bf4c24f62faac9e8bd4d (patch)
treeafbf1997c319dc412d899915afbfe81abca0ff53 /include
parent51a283cbe4a77d11853f7779eb1aa452557846d3 (diff)
backend/x11: Make header order consistent
Diffstat (limited to 'include')
-rw-r--r--include/backend/x11.h9
-rw-r--r--include/wlr/backend/x11.h2
2 files changed, 8 insertions, 3 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index cc7850b1..eccb422b 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -2,14 +2,17 @@
#define BACKEND_X11_H
#include <stdbool.h>
+
+#include <X11/Xlib-xcb.h>
#include <wayland-server.h>
-#include <wlr/config.h>
+#include <xcb/xcb.h>
+
#include <wlr/backend/x11.h>
+#include <wlr/config.h>
#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_output.h>
#include <wlr/render/egl.h>
-#include <X11/Xlib-xcb.h>
-#include <xcb/xcb.h>
+#include <wlr/render/wlr_renderer.h>
#define XCB_EVENT_RESPONSE_TYPE_MASK 0x7f
diff --git a/include/wlr/backend/x11.h b/include/wlr/backend/x11.h
index 56360bf7..5793a3b9 100644
--- a/include/wlr/backend/x11.h
+++ b/include/wlr/backend/x11.h
@@ -2,7 +2,9 @@
#define WLR_BACKEND_X11_H
#include <stdbool.h>
+
#include <wayland-server.h>
+
#include <wlr/backend.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/types/wlr_output.h>