diff --git a/programs/util.c b/programs/util.c index 703c06552..5e7a10c12 100644 --- a/programs/util.c +++ b/programs/util.c @@ -18,6 +18,7 @@ extern "C" { ******************************************/ #include "util.h" /* note : ensure that platform.h is included first ! */ #include /* malloc, realloc, free */ +#include /* fprintf */ #include /* clock_t, clock, CLOCKS_PER_SEC, nanosleep */ #include #include diff --git a/programs/util.h b/programs/util.h index 7beaec64e..6e8711fd1 100644 --- a/programs/util.h +++ b/programs/util.h @@ -21,7 +21,6 @@ extern "C" { ******************************************/ #include "platform.h" /* PLATFORM_POSIX_VERSION, ZSTD_NANOSLEEP_SUPPORT, ZSTD_SETPRIORITY_SUPPORT */ #include /* size_t, ptrdiff_t */ -#include /* fprintf */ #include /* stat, utime */ #include /* stat, chmod */ #include "mem.h" /* U64 */