diff --git a/src/test/fsprg.c b/src/test/fsprg.c index aebb46b521..3f0215bf19 100644 --- a/src/test/fsprg.c +++ b/src/test/fsprg.c @@ -15,8 +15,6 @@ #include #include "fsprg.h" -#include "gcrypt-util.h" -#include "memory-util.h" #define ISVALID_SECPAR(secpar) (((secpar) % 16 == 0) && ((secpar) >= 16) && ((secpar) <= 16384)) #define VALIDATE_SECPAR(secpar) assert(ISVALID_SECPAR(secpar)); @@ -28,6 +26,9 @@ #if HAVE_GCRYPT +#include "gcrypt-util.h" +#include "memory-util.h" + #pragma GCC diagnostic ignored "-Wpointer-arith" /* TODO: remove void* arithmetic and this work-around */