From 57661e42c30e711f1d469e028402a1c1cc79ed58 Mon Sep 17 00:00:00 2001 From: Manuel Alfayate Corchete Date: Wed, 13 Jan 2021 20:17:50 +0100 Subject: [PATCH] [KMS/DRM] Remove unused header. --- src/video/kmsdrm/SDL_kmsdrmvideo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c index 821e7e71e..a82813bfc 100644 --- a/src/video/kmsdrm/SDL_kmsdrmvideo.c +++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c @@ -46,7 +46,6 @@ #include #include #include -#include #include #ifdef __OpenBSD__ @@ -371,7 +370,7 @@ KMSDRM_WaitPageFlip(_THIS, SDL_WindowData *windata) { */ while (windata->waiting_for_flip) { - pfd.revents = 0; + pfd.revents = 0; /* poll() waits for events arriving on the FD, and returns < 0 if timeout passes with no events.