<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:issor.oruam@gmail.com" title="Mauro Rossi <issor.oruam@gmail.com>"> <span class="fn">Mauro Rossi</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - u_queue.c:173:7: error: implicit declaration of function 'timespec_get' is invalid in C99"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103674">bug 103674</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>issor.oruam@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - u_queue.c:173:7: error: implicit declaration of function 'timespec_get' is invalid in C99"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103674#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - u_queue.c:173:7: error: implicit declaration of function 'timespec_get' is invalid in C99"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103674">bug 103674</a>
from <span class="vcard"><a class="email" href="mailto:issor.oruam@gmail.com" title="Mauro Rossi <issor.oruam@gmail.com>"> <span class="fn">Mauro Rossi</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=135413" name="attach_135413" title="proposed patch">attachment 135413</a> <a href="attachment.cgi?id=135413&action=edit" title="proposed patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=103674&attachment=135413'>[review]</a>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>