From b4b0b100df414bf9a1386203b5fc350e2c31db89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 13 Apr 2016 14:08:38 +0200 Subject: [PATCH] [plugins/platforms/drm] Fix includes Incorrect includes resulted in build without GBM to fail. --- plugins/platforms/drm/drm_backend.cpp | 1 + plugins/platforms/drm/drm_output.cpp | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/platforms/drm/drm_backend.cpp b/plugins/platforms/drm/drm_backend.cpp index 15310c866e..1589c58f59 100644 --- a/plugins/platforms/drm/drm_backend.cpp +++ b/plugins/platforms/drm/drm_backend.cpp @@ -23,6 +23,7 @@ along with this program. If not, see . #include "cursor.h" #include "logging.h" #include "logind.h" +#include "main.h" #include "scene_qpainter_drm_backend.h" #include "screens_drm.h" #include "udev.h" diff --git a/plugins/platforms/drm/drm_output.cpp b/plugins/platforms/drm/drm_output.cpp index 57a19b8cf2..d4c504a395 100644 --- a/plugins/platforms/drm/drm_output.cpp +++ b/plugins/platforms/drm/drm_output.cpp @@ -22,12 +22,10 @@ along with this program. If not, see . #include "composite.h" #include "logging.h" +#include "main.h" #include "screens_drm.h" #include "virtual_terminal.h" #include "wayland_server.h" -#if HAVE_GBM -#include "egl_gbm_backend.h" -#endif // KWayland #include #include