mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
util: #include "c11/threads.h" when necessary in simple_mtx.h
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>
This commit is contained in:
parent
eb6668ee86
commit
2b2b8ac64e
1 changed files with 2 additions and 4 deletions
|
|
@ -29,10 +29,7 @@
|
|||
#include "util/u_call_once.h"
|
||||
#include "u_atomic.h"
|
||||
|
||||
#include "c11/threads.h"
|
||||
|
||||
#if UTIL_FUTEX_SUPPORTED
|
||||
|
||||
#if defined(HAVE_VALGRIND) && !defined(NDEBUG)
|
||||
# include <valgrind.h>
|
||||
# include <helgrind.h>
|
||||
|
|
@ -40,7 +37,8 @@
|
|||
#else
|
||||
# define HG(x)
|
||||
#endif
|
||||
|
||||
#else /* !UTIL_FUTEX_SUPPORTED */
|
||||
# include "c11/threads.h"
|
||||
#endif /* UTIL_FUTEX_SUPPORTED */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue