vulkan/wsi: fix missing unistd include
authorMichel Zou <xantares09@hotmail.com>
Thu, 5 May 2022 17:51:10 +0000 (19:51 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 10 May 2022 02:37:21 +0000 (02:37 +0000)
fixes: c72ff19a

Closes #6428

Reviewed-by: Simon Ser <contact@emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16353>

src/vulkan/wsi/wsi_common.c

index 16f2de2..dd193d8 100644 (file)
@@ -38,6 +38,7 @@
 #include <time.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <unistd.h>
 
 VkResult
 wsi_device_init(struct wsi_device *wsi,