--- a/C/Sha512.c
+++ b/C/Sha512.c
@@ -451,9 +451,9 @@
 #endif
 
 #ifdef Z7_SHA512_USE_PROBE
+#include <stdio.h>
 
 #ifdef Z7_SHA512_PROBE_DEBUG
-#include <stdio.h>
 #define PRF(x) x
 #else
 #define PRF(x)
