I am working on lwip TCP/IP stack on a TI microcontroller board. To simply explain, I have two source folders "ipv4" and "ipv6". Both have their corresponding folders for header files in the "include" folder.
Both have some functions and structs with the same name. I have included the paths for both. However, it is giving me errors in almost all of functions in the files in "ipv6" folder as if it cannot find the folder for header files and instead goes to the "ipv4" folder for header files as it also has the same functions but with different number of arguments.
What am I doing wrong?