I am writing some C code in eclipse. I have some of my own header files and I put them under project properties -> GCC C Compiler -> Includes -> Include paths(-l). One of the inclded file is socket.h. When I try to compile my project compiler still points to default library (usr/includes/bits/socket.h and /usr/includes/sys/socket.h) But I have my own socket.h file which I have included under include paths(-l).
My question is, How can I restrict my compiler to point my socket.h rather than its own socket.h ? One restriction is that I cant change socket.h file name.
"socket.h"or<socket.h>includes? - Tim Čas