mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
zstd: Don't use utime on Linux
utime is deprecated by POSIX 2008 and optionally not available with uClibc-ng. Got rid of a few useless headers in timefn.h. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
d95ac34202
commit
41e90653fe
4 changed files with 17 additions and 8 deletions
|
|
@ -19,12 +19,6 @@ extern "C" {
|
|||
/*-****************************************
|
||||
* Dependencies
|
||||
******************************************/
|
||||
#include <sys/types.h> /* utime */
|
||||
#if defined(_MSC_VER)
|
||||
# include <sys/utime.h> /* utime */
|
||||
#else
|
||||
# include <utime.h> /* utime */
|
||||
#endif
|
||||
#include <time.h> /* clock_t, clock, CLOCKS_PER_SEC */
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue