summaryrefslogtreecommitdiff
path: root/tests/vbltest/vbltest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vbltest/vbltest.c')
-rw-r--r--tests/vbltest/vbltest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c
index 4475b49b..97dd44dc 100644
--- a/tests/vbltest/vbltest.c
+++ b/tests/vbltest/vbltest.c
@@ -37,6 +37,9 @@
#include <errno.h>
#include <sys/poll.h>
#include <sys/time.h>
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
#include "xf86drm.h"
#include "xf86drmMode.h"