diff --git a/c/templates/ex.c b/c/templates/ex.c index 77ed3e1..75204ee 100644 --- a/c/templates/ex.c +++ b/c/templates/ex.c @@ -1,13 +1,6 @@ /* See GNUmakefile below for explanation * https://github.com/braoult/exercism/blob/master/c/templates/GNUmakefile */ -#if defined UNIT_TEST || defined DEBUG -#include -#include -#endif - - - #ifdef UNIT_TEST int main(int ac, char **av) { diff --git a/c/templates/ex.h b/c/templates/ex.h index 63a0c42..3c82085 100644 --- a/c/templates/ex.h +++ b/c/templates/ex.h @@ -1,6 +1,10 @@ /* See GNUmakefile below for explanation * https://github.com/braoult/exercism/blob/master/c/templates/GNUmakefile */ +#if defined UNIT_TEST || defined DEBUG +#include +#include +#endif #ifdef TESTALL #undef TEST_IGNORE #define TEST_IGNORE() {}