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.