diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 450920e7..c0d0c84b 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -52,8 +52,6 @@ #include "vaapi-recorder.h" #include "presentation_timing-server-protocol.h" -#include - #ifndef DRM_CAP_TIMESTAMP_MONOTONIC #define DRM_CAP_TIMESTAMP_MONOTONIC 0x6 #endif diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index 4f792b14..84c87315 100644 --- a/src/compositor-wayland.c +++ b/src/compositor-wayland.c @@ -45,8 +45,6 @@ #include "fullscreen-shell-client-protocol.h" #include "presentation_timing-server-protocol.h" -#include - #define WINDOW_TITLE "Weston Compositor" #ifndef EGL_PLATFORM_WAYLAND_KHR diff --git a/src/compositor-x11.c b/src/compositor-x11.c index 5654c505..fd914d74 100644 --- a/src/compositor-x11.c +++ b/src/compositor-x11.c @@ -53,8 +53,6 @@ #include "../shared/image-loader.h" #include "presentation_timing-server-protocol.h" -#include - #define DEFAULT_AXIS_STEP_DISTANCE wl_fixed_from_int(10) #ifndef EGL_PLATFORM_X11_KHR diff --git a/src/gl-renderer.h b/src/gl-renderer.h index c5550d1c..d4da5671 100644 --- a/src/gl-renderer.h +++ b/src/gl-renderer.h @@ -27,6 +27,7 @@ #ifdef ENABLE_EGL #include +#include #else