blob: d466d1dc058a4d29edec692714ae40d752f262f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
From 935018562e6fee649bb629a873d4c3beca3bc72e Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sat, 2 Jul 2016 17:11:20 -0700
Subject: [PATCH] Include poll.h instead of sys/poll.h
---
video/out/drm_common.c | 2 +-
video/out/vo_drm.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/video/out/drm_common.c b/video/out/drm_common.c
index 44e017e4b..3a9b2a4b3 100644
--- a/video/out/drm_common.c
+++ b/video/out/drm_common.c
@@ -16,10 +16,10 @@
*/
#include <errno.h>
+#include <poll.h>
#include <string.h>
#include <signal.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
#include <sys/stat.h>
#include <sys/vt.h>
#include <unistd.h>
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c
index 7e642e391..726d820ba 100644
--- a/video/out/vo_drm.c
+++ b/video/out/vo_drm.c
@@ -18,9 +18,9 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
+#include <poll.h>
#include <stdbool.h>
#include <sys/mman.h>
-#include <sys/poll.h>
#include <unistd.h>
#include <libswscale/swscale.h>
--
2.11.0
|