summaryrefslogtreecommitdiff
path: root/tests/kms/kms-universal-planes.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms/kms-universal-planes.c')
-rw-r--r--tests/kms/kms-universal-planes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/kms/kms-universal-planes.c b/tests/kms/kms-universal-planes.c
index 9151231ff860..d8e5fc48f9b7 100644
--- a/tests/kms/kms-universal-planes.c
+++ b/tests/kms/kms-universal-planes.c
@@ -32,6 +32,9 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
#include <drm_fourcc.h>
#include "xf86drm.h"