diff --git a/lib/roken/snprintf.c b/lib/roken/snprintf.c index 276679ca3..e23e9c930 100644 --- a/lib/roken/snprintf.c +++ b/lib/roken/snprintf.c @@ -35,6 +35,9 @@ #include RCSID("$Id$"); #endif +#if defined(TEST_SNPRINTF) +#include "snprintf-test.h" +#endif /* TEST_SNPRINTF */ #include #include #include @@ -65,10 +68,6 @@ struct snprintf_state { /* XXX - methods */ }; -#if defined(TEST_SNPRINTF) -#include "snprintf-test.h" -#endif /* TEST_SNPRINTF */ - #if !defined(HAVE_VSNPRINTF) || defined(TEST_SNPRINTF) static int sn_reserve (struct snprintf_state *state, size_t n)