util: #include <windows.h> in disk_cache_os.c
authorYonggang Luo <luoyonggang@gmail.com>
Sat, 3 Sep 2022 10:13:56 +0000 (18:13 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Oct 2022 03:04:56 +0000 (03:04 +0000)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18425>

src/util/disk_cache_os.c

index e080fec..7423c4a 100644 (file)
@@ -38,6 +38,8 @@
 
 #if DETECT_OS_WINDOWS
 
+#include <windows.h>
+
 bool
 disk_cache_get_function_identifier(void *ptr, struct mesa_sha1 *ctx)
 {