title: error: ‘struct sigevent’ has no member named ‘sigev_notify_thread_id’
body: <p>The following "toy" code represents a problem I am having in a larger code base using <a href="http://linux.die.net/man/2/timer_create" rel="noreferrer">POSIX timers</a>.</p>
  
  <pre><code>#include &lt;time.h&gt;
  #include &lt;errno.h&gt;
  #include &lt;signal.h&gt;
  #include &lt;iostream&gt;
  
  using namespace std;
  
  int main()
  {   
      struct sigevent sevp;
      long threadId = 5;
  
      sevp.sigev_notify = SIGEV_THREAD_ID;
      sevp.sigev_notify_thread_id = threadId;
  
      return 0;
  }
  </code></pre>
  
  <p>When I try to compile it using <code>g++</code> on a Linux machine I get the error:</p>
  
  <pre><code>error: ‘struct sigevent’ has no member named ‘sigev_notify_thread_id’
  </code></pre>
  
  <p>Is there a reason why? <a href="http://linux.die.net/man/7/sigevent" rel="noreferrer">This</a> leads me to believe that the <code>sigevent</code> struct has a member called <code>sigev_notify_thread_id</code>.</p>