<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:jon.turney@dronecode.org.uk" title="Jon TURNEY <jon.turney@dronecode.org.uk>"> <span class="fn">Jon TURNEY</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - swrast: build error undeclared _SC_PHYS_PAGES on osx"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90147">bug 90147</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>jon.turney@dronecode.org.uk
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - swrast: build error undeclared _SC_PHYS_PAGES on osx"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90147#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - swrast: build error undeclared _SC_PHYS_PAGES on osx"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90147">bug 90147</a>
from <span class="vcard"><a class="email" href="mailto:jon.turney@dronecode.org.uk" title="Jon TURNEY <jon.turney@dronecode.org.uk>"> <span class="fn">Jon TURNEY</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=115698" name="attach_115698" title="Fix compilation when sys/sysctl.h is not present">attachment 115698</a> <a href="attachment.cgi?id=115698&action=edit" title="Fix compilation when sys/sysctl.h is not present">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=90147&attachment=115698'>[review]</a>
Fix compilation when sys/sysctl.h is not present
Unfortunately, this patch unconditionally includes sys/sysctl.h, which breaks
compilation for me (see
<a href="http://tinderbox.x.org/builds/2015-05-07-0008/logs/mesa-mesa/#build">http://tinderbox.x.org/builds/2015-05-07-0008/logs/mesa-mesa/#build</a>)
I can't find any evidence that sys/sysctl.h is required by POSIX.
Attached is an attempt to fix this.
Additionally, I'm not sure if any platform exists which has both interfaces,
but preferring sysctl() to sysconf() as this patch does, would mean on any such
platforms a different path would be used to that previously.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>