aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/wlr/backend/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h
index 1617aa15..414d90c0 100644
--- a/include/wlr/backend/drm.h
+++ b/include/wlr/backend/drm.h
@@ -15,6 +15,7 @@
#include <wlr/types/wlr_output.h>
struct wlr_drm_backend;
+typedef struct _drmModeModeInfo drmModeModeInfo;
struct wlr_drm_lease {
int fd;
@@ -74,7 +75,6 @@ void wlr_drm_lease_terminate(struct wlr_drm_lease *lease);
/**
* Add mode to the list of available modes.
*/
-typedef struct _drmModeModeInfo drmModeModeInfo;
struct wlr_output_mode *wlr_drm_connector_add_mode(struct wlr_output *output,
const drmModeModeInfo *mode);