For GCC,,,
In headerfile you may have Declaration of functions, Defination(body) of functions, structures, and etc,
so its depend upon progamm , if declaration is not ther then copiler will show Warning but you can run your programm, but if you are using your headerfile for defination for function or structure then you wil get an error in LINKER stage.
I hope i have cleared your doubt.