Such errors that seem to show up in standard header files are because C is kind of dumb. Look just before where the header file got #included in your code. It's often something like this:
Code:
int some_global = 7 // no semicolon!
#include <stdio.h> // but the error will probably be shown as being from this file