aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-04 19:30:37 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-04 19:30:50 -0400
commit7d82476590033a93761035ead1dd761b68c5c049 (patch)
tree7efe3f19d428df18a280906f65b4839b8168ed6f /backend/drm
parent7051d0e79dc74426c312f9eee0ce95adf85ff7c9 (diff)
Refactor type implementations
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/backend.c2
-rw-r--r--backend/drm/drm.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index 2840f17f..7c2ff7fe 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -10,7 +10,7 @@
#include <wlr/session.h>
#include <wlr/types.h>
#include <wlr/common/list.h>
-#include "backend.h"
+#include <wlr/backend/interface.h>
#include "backend/udev.h"
#include "backend/drm/backend.h"
#include "backend/drm/drm.h"
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 27a5932f..2523eaf0 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -12,12 +12,11 @@
#include <gbm.h>
#include <GLES3/gl3.h>
#include <wayland-server.h>
-
-#include "types.h"
-#include "backend.h"
+#include <wlr/backend/interface.h>
#include "backend/drm/backend.h"
#include "backend/drm/drm.h"
#include "common/log.h"
+#include "types.h"
static const char *conn_name[] = {
[DRM_MODE_CONNECTOR_Unknown] = "Unknown",