From 05c5c5f43fbffb3317bd9da27d414890d2ef493c Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 18 Jan 2019 13:47:23 +0100
Subject: [PATCH] vtest: add missing includes

This fixes build failures with musl C library

Upstream-Status: Accepted [https://gitlab.freedesktop.org/virgl/virglrenderer/merge_requests/125]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 vtest/util.c         | 1 +
 vtest/vtest_server.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/vtest/util.c b/vtest/util.c
index 0d3c78f..c605253 100644
--- a/vtest/util.c
+++ b/vtest/util.c
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/select.h>
 
 int vtest_wait_for_fd_read(int fd)
 {
diff --git a/vtest/vtest_server.c b/vtest/vtest_server.c
index bc6c95f..010721f 100644
--- a/vtest/vtest_server.c
+++ b/vtest/vtest_server.c
@@ -31,6 +31,7 @@
 #include <netinet/in.h>
 #include <sys/un.h>
 #include <fcntl.h>
+#include <string.h>
 
 #include "util.h"
 #include "vtest.h"
