Commit 7ff682a1 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Dylan Baker

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's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103674
Fixes: e2d761de ("util: drop final reference to p_compiler.h")
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
(cherry picked from commit 9d3fc737)
parent 9fff4192
......@@ -26,7 +26,7 @@
#include "u_queue.h"
#include <time.h>
#include "c11/threads.h"
#include "util/os_time.h"
#include "util/u_string.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment