title: GCC with -std=c99 complains about not knowing struct timespec
body: <p>When I try to compile this on Linux with <code>gcc -std=c99</code>, the compiler complains about not knowing <code>struct timespec</code>. However if I compile this without <code>-std=c99</code> everything works fine.</p>
  
  <pre><code>#include &lt;time.h&gt;
  
  int main(void)
  {
    struct timespec asdf;
    return 0;
  }
  </code></pre>
  
  <p>Why is this and is there a way to still get it to work with <code>-std=c99</code>?</p>