From: Yann Collet Date: Tue, 26 Nov 2019 23:25:32 +0000 (-0800) Subject: pushed aside stdio.h too X-Git-Tag: v1.4.5^2~141^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaab618ae9e02fa3f7ac539c304419f7b2e1acbd;p=thirdparty%2Fzstd.git pushed aside stdio.h too since only UTIL_DISPLAY() depended on it. --- 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 */