It will either be compiled, or you will get an error message along the lines of:
a.c:1:17: fatal error: bad.h: No such file or directory
If you are getting this message, you simply need to add the directory that contains the headers to your project's search path (and of course #include the headers) via Project|Build Options|Search Directories. Simply adding the headers to the project is not sufficient to have them compiled.