[Mesa-dev] [Bug 103674] u_queue.c:173:7: error: implicit declaration of function 'timespec_get' is invalid in C99
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Nov 12 00:52:36 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103674
Mauro Rossi <issor.oruam at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |issor.oruam at gmail.com
--- Comment #1 from Mauro Rossi <issor.oruam at gmail.com> ---
Created attachment 135413
--> https://bugs.freedesktop.org/attachment.cgi?id=135413&action=edit
proposed patch
Hi,
when building Android, I see a similar error.
external/mesa/src/util/u_queue.c:173: error: undefined reference to
'timespec_get'
clock_gettime(CLOCK_REALTIME, &ts) is equivalent to timespec_get(&ts, TIME_UTC)
but has the advantage that avoids the building error.
Proposed patch is in the attachement.
Mauro Rossi
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171112/6f8d1979/attachment.html>
More information about the mesa-dev
mailing list