<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Problems compiling libdrm since glibc 2.23"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94231#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Problems compiling libdrm since glibc 2.23"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94231">bug 94231</a>
from <span class="vcard"><a class="email" href="mailto:daniel@fooishbar.org" title="Daniel Stone <daniel@fooishbar.org>"> <span class="fn">Daniel Stone</span></a>
</span></b>
<pre>(In reply to Emil Velikov from <a href="show_bug.cgi?id=94231#c3">comment #3</a>)
<span class="quote">> I.e. if the _BSD_SOURCE define does not help, then either glibc needs to be
> fixed or the manuals should be updated (the glibc fold might have some
> suggestions) ?</span >
_BSD_SOURCE gets defined if you call AC_USE_SYSTEM_EXTENSIONS from
configure.ac, which gives you the maximal set of defines. It's not safe to just
define the _*_SOURCE macros, since whilst glibc etc treat them as additive, BSD
libcs treat them as restrictive (e.g. defining _BSD_SOURCE gives you a pure BSD
environment without some of the features enabled by, e.g., _XOPEN_SOURCE).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>