title: C - Implicit declaration of the function "pthread_timedjoin_np"
body: <p>I am porting a windows library to linux. I need to use timed join to wait for the thread to join in a specific timeout.</p>
  
  <p>When I compile the library on Linux I am getting the warning</p>
  
  <blockquote>
    <p>Implicit declaration of the function - pthread_timedjoin_np</p>
  </blockquote>
  
  <p>I have included pthread.h and have compiled with -lpthread link. I know that pthread_timedjoin_np is a non-standard GNU function. The function first appeared in glibc in version 2.3.3. and somewhere in BCD v6.</p>
  
  <p>I even checked the <a href="http://man7.org/linux/man-pages/man3/pthread_tryjoin_np.3.html" rel="nofollow noreferrer">Man Page</a> for Linux but got no help. How do I avoid this warning? Any help?</p>
  
  <p><strong>Edit-1:</strong>
  My system is RedHat 5.</p>