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 <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14104>
This commit is contained in:
Dave Airlie 2021-12-07 16:25:34 +10:00 committed by Marge Bot
parent 244fa81c13
commit 3f35b5fdc9
1 changed files with 1 additions and 0 deletions

View File

@ -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) ({ \