radv: Add <io.h> on WIndows for missing close()

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6162>
This commit is contained in:
James Park 2021-04-22 13:13:29 -07:00 committed by Marge Bot
parent 288f6b81d6
commit 74f95e719b
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include "vk_util.h"
#ifdef _WIN32
typedef void *drmDevicePtr;
#include <io.h>
#else
#include <amdgpu.h>
#include <xf86drm.h>