<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vladimir@vladimir.lu" title="Vladimir <vladimir@vladimir.lu>"> <span class="fn">Vladimir</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - PulseAudio fails to build on musl libc"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85319">bug 85319</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;">Status</td>
           <td>NEEDINFO
           </td>
           <td>NEW
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - PulseAudio fails to build on musl libc"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85319#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - PulseAudio fails to build on musl libc"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85319">bug 85319</a>
              from <span class="vcard"><a class="email" href="mailto:vladimir@vladimir.lu" title="Vladimir <vladimir@vladimir.lu>"> <span class="fn">Vladimir</span></a>
</span></b>
        <pre>No need to confirm I think - the POSIX specification specifies the ioctl(int,
int, ...) prototype:
<a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/ioctl.html">http://pubs.opengroup.org/onlinepubs/9699919799/functions/ioctl.html</a> (previous
versions also have the same, just linking to the latest one). So this is yet
another instance of glibc being glibc...

For ioctl specifically, the current `#ifdef sun` can probably be changed to
check _XOPEN_SOURCE >= 500 (or similar, I have not tried it and instead patched
it directly).

I will have a build of pulseaudio 6.0 to test soon on my desktop which I will
test and report with any further issues.

By the way, what was the reasoning behind reusing the system stat/open/ioctl
function names in padsp.c specifically - I see that there are functions like
pa_fopen_* already defined elsewhere?</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>