I have a main directory A with two sub directories B and C.
A
B
C
Directory B contains a header file structures.c
structures.c
write
#include "../b/structure.h"
in place of
#include
then go in directory in c & compile your main.c with
gcc main.c