you can just put the #include <stdio.h> in the header file that they both share.