From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Sun, 5 Jun 2022 05:33:35 -0300 Subject: [PATCH] Fix gettimeofday aarch64/epel8 --- src/libfaketime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libfaketime.c b/src/libfaketime.c index 2272fab..d2900ee 100644 --- a/src/libfaketime.c +++ b/src/libfaketime.c @@ -2237,7 +2237,7 @@ int ftime(struct timeb *tb) #ifdef MACOS_DYLD_INTERPOSE int macos_gettimeofday(struct timeval *tv, void *tz) #else -int gettimeofday(struct timeval *tv, void *tz) +int gettimeofday(struct timeval *__restrict tv, __timezone_ptr_t tz) #endif { int result; -- 2.36.1