From: Lionel Landwerlin Date: Fri, 23 Aug 2019 08:35:13 +0000 (+0200) Subject: util: fix compilation on macos X-Git-Tag: upstream/19.3.0~2535 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d3fc737afcb98e3882b4d54c9d093980cfb4874;p=platform%2Fupstream%2Fmesa.git util: fix compilation on macos timespec_get() is not available on macos, we need to pull in the include/c11/threads_posix.h helper. Signed-off-by: Lionel Landwerlin Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103674 Fixes: e2d761de03 ("util: drop final reference to p_compiler.h") Reviewed-by: Eric Engestrom --- diff --git a/src/util/u_queue.c b/src/util/u_queue.c index 46c61eb..81225a8 100644 --- a/src/util/u_queue.c +++ b/src/util/u_queue.c @@ -26,7 +26,7 @@ #include "u_queue.h" -#include +#include "c11/threads.h" #include "util/os_time.h" #include "util/u_string.h"