I'm trying to compile (under Linux) a project that was developed under Windows. The project has a header file named features.h
. Linux has a system header file with the same name. gcc takes the system header file and ignore the project's header file.
I know I can specify the path to the header file in the #include
line to force the compiler to find the project's header file. But the source files shouldn't be modified.
Is there a way to fix this problem without touching the source files (e.g., by a compiler flag)?