diff --git a/test-fixtures/test-utils.c b/test-fixtures/test-utils.c index b85efcded..8c6721934 100644 --- a/test-fixtures/test-utils.c +++ b/test-fixtures/test-utils.c @@ -1,6 +1,5 @@ #include -#include #include #include "test-unit.h" diff --git a/test-fixtures/test-utils.h b/test-fixtures/test-utils.h index f7cb74874..0c58820e6 100644 --- a/test-fixtures/test-utils.h +++ b/test-fixtures/test-utils.h @@ -1,7 +1,10 @@ #ifndef _TEST_UTILS_H_ #define _TEST_UTILS_H_ -#include +#include +#include +#include +#include #include /* We don't really care about functions that are defined without a diff --git a/tests/conform/test-no-gl-header.c b/tests/conform/test-no-gl-header.c index 0628576ce..9618d840e 100644 --- a/tests/conform/test-no-gl-header.c +++ b/tests/conform/test-no-gl-header.c @@ -1,18 +1,16 @@ #undef COGL_COMPILATION #include -#include "test-utils.h" - /* If you just include cogl/cogl.h, you shouldn't end up including any GL headers */ #ifdef GL_TRUE #error "Including cogl.h shouldn't be including any GL headers" #endif +void test_no_gl_header (void); + void test_no_gl_header (void) { - if (cogl_test_verbose ()) - g_print ("OK\n"); } diff --git a/tests/unit/test-unit-main.c b/tests/unit/test-unit-main.c index 92dcec7c7..b1f78645e 100644 --- a/tests/unit/test-unit-main.c +++ b/tests/unit/test-unit-main.c @@ -3,6 +3,7 @@ #include #include +#include int main (int argc, char **argv)