<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - os_time.c:104:4: error: implicit declaration of function 'usleep' is invalid in C99"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103671">bug 103671</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;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - os_time.c:104:4: error: implicit declaration of function 'usleep' is invalid in C99"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103671#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - os_time.c:104:4: error: implicit declaration of function 'usleep' is invalid in C99"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103671">bug 103671</a>
              from <span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span></b>
        <pre>commit 764f1e4d4509448797008c2b20956b31d8360ef0
Author: Jon Turney <<a href="mailto:jon.turney@dronecode.org.uk">jon.turney@dronecode.org.uk</a>>
Date:   Fri Nov 10 11:41:13 2017 +0000

    util: include unistd.h, which may be required for usleep prototype

    This seems to be dropped in 222a2fb9 "util: move os_time.[ch] to src/util"

    ../../../src/util/os_time.c: In function ‘os_time_sleep’:
    ../../../src/util/os_time.c:104:4: error: implicit declaration of function
‘usleep’ [-Werror=implicit-function-declaration]

    Signed-off-by: Jon Turney <<a href="mailto:jon.turney@dronecode.org.uk">jon.turney@dronecode.org.uk</a>>
    Reviewed-by: Nicolai Hähnle <<a href="mailto:nicolai.haehnle@amd.com">nicolai.haehnle@amd.com</a>></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>