relative #include inside include folder fails
I have this folder structure:
/main.c
/include/header.h
/include/header2.h
main.c has #include "header.h
header.h has #include "./header2.h"
which fails to find the file.
This works in gcc. Just removing ./
fixes the issue but there are many c sources that use them. If all of these files are in the root directory it works just fine.