From 3f35b5fdc9c8a08248c68f2393c115db22fb433d Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 7 Dec 2021 16:25:34 +1000 Subject: [PATCH] anv: include futex.h explicitly in allocator. This file needs futexes so make an explicit include, so it doesn't come via the compiler Reviewed-by: Caio Oliveira Reviewed-by: Jason Ekstrand Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/anv_allocator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c index 286e21c6a6b..7a87175cc7f 100644 --- a/src/intel/vulkan/anv_allocator.c +++ b/src/intel/vulkan/anv_allocator.c @@ -31,6 +31,7 @@ #include "common/intel_aux_map.h" #include "util/anon_file.h" +#include "util/futex.h" #ifdef HAVE_VALGRIND #define VG_NOACCESS_READ(__ptr) ({ \