Mesa (main): vulkan/wsi: fix missing unistd include
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue May 10 03:00:40 UTC 2022
Module: Mesa
Branch: main
Commit: a8b009aed6b543e9ebfacca54cf9ec4ae6fa5b85
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8b009aed6b543e9ebfacca54cf9ec4ae6fa5b85
Author: Michel Zou <xantares09 at hotmail.com>
Date: Thu May 5 19:51:10 2022 +0200
vulkan/wsi: fix missing unistd include
fixes: c72ff19a
Closes #6428
Reviewed-by: Simon Ser <contact at emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16353>
---
src/vulkan/wsi/wsi_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vulkan/wsi/wsi_common.c b/src/vulkan/wsi/wsi_common.c
index 16f2de21921..dd193d83601 100644
--- a/src/vulkan/wsi/wsi_common.c
+++ b/src/vulkan/wsi/wsi_common.c
@@ -38,6 +38,7 @@
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
+#include <unistd.h>
VkResult
wsi_device_init(struct wsi_device *wsi,
More information about the mesa-commit
mailing list