[PATCH] tests/kms-steal-crtc: Include sys/select.h
Khem Raj
raj.khem at gmail.com
Tue Dec 29 14:21:44 PST 2015
Fixes errors e.g.
error: implicit declaration of function 'select'
and missing definitions of FD_* defines
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
tests/kms/kms-steal-crtc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms/kms-steal-crtc.c b/tests/kms/kms-steal-crtc.c
index 2f7f327..24d70ab 100644
--- a/tests/kms/kms-steal-crtc.c
+++ b/tests/kms/kms-steal-crtc.c
@@ -31,6 +31,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <sys/select.h>
#include <drm_fourcc.h>
--
2.6.4
More information about the dri-devel
mailing list