util: fix compilation on macos
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 23 Aug 2019 08:35:13 +0000 (10:35 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 23 Aug 2019 20:45:25 +0000 (23:45 +0300)
commit9d3fc737afcb98e3882b4d54c9d093980cfb4874
tree8db4e5b7672cc6410bc66e667ee220c6fafeb3c6
parentbfac462d929ba2b97c7fb3561f00cf5ff6dde22f
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 <lionel.g.landwerlin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103674
Fixes: e2d761de03 ("util: drop final reference to p_compiler.h")
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/util/u_queue.c