Commit 57661e42c30e711f1d469e028402a1c1cc79ed58

Manuel Alfayate Corchete 2021-01-13T20:17:50

[KMS/DRM] Remove unused header.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c
index 821e7e7..a82813b 100644
--- a/src/video/kmsdrm/SDL_kmsdrmvideo.c
+++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c
@@ -46,7 +46,6 @@
 #include <sys/stat.h>
 #include <dirent.h>
 #include <poll.h>
-#include <time.h>
 #include <errno.h>
 
 #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.