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