pushed aside stdio.h too

since only UTIL_DISPLAY() depended on it.
This commit is contained in:
Yann Collet 2019-11-26 15:25:32 -08:00
parent 7543cd055c
commit aaab618ae9
2 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,7 @@ extern "C" {
******************************************/ ******************************************/
#include "util.h" /* note : ensure that platform.h is included first ! */ #include "util.h" /* note : ensure that platform.h is included first ! */
#include <stdlib.h> /* malloc, realloc, free */ #include <stdlib.h> /* malloc, realloc, free */
#include <stdio.h> /* fprintf */
#include <time.h> /* clock_t, clock, CLOCKS_PER_SEC, nanosleep */ #include <time.h> /* clock_t, clock, CLOCKS_PER_SEC, nanosleep */
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>

View File

@ -21,7 +21,6 @@ extern "C" {
******************************************/ ******************************************/
#include "platform.h" /* PLATFORM_POSIX_VERSION, ZSTD_NANOSLEEP_SUPPORT, ZSTD_SETPRIORITY_SUPPORT */ #include "platform.h" /* PLATFORM_POSIX_VERSION, ZSTD_NANOSLEEP_SUPPORT, ZSTD_SETPRIORITY_SUPPORT */
#include <stddef.h> /* size_t, ptrdiff_t */ #include <stddef.h> /* size_t, ptrdiff_t */
#include <stdio.h> /* fprintf */
#include <sys/types.h> /* stat, utime */ #include <sys/types.h> /* stat, utime */
#include <sys/stat.h> /* stat, chmod */ #include <sys/stat.h> /* stat, chmod */
#include "mem.h" /* U64 */ #include "mem.h" /* U64 */