Skip to content

Commit a643836

Browse files
[libc] fix build issue in overlay mode (#108583)
1 parent ea5d37f commit a643836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/src/__support/OSUtil/linux/vdso_sym.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ template <VDSOSym sym> LIBC_INLINE constexpr auto dispatcher() {
4444
else if constexpr (sym == VDSOSym::ClockGetTime64)
4545
return static_cast<int (*)(clockid_t, __kernel_timespec *)>(nullptr);
4646
else if constexpr (sym == VDSOSym::GetTimeOfDay)
47-
return static_cast<int (*)(timeval *__restrict, timezone *__restrict)>(
48-
nullptr);
47+
return static_cast<int (*)(timeval *__restrict,
48+
struct timezone *__restrict)>(nullptr);
4949
else if constexpr (sym == VDSOSym::GetCpu)
5050
return static_cast<int (*)(unsigned *, unsigned *, getcpu_cache *)>(
5151
nullptr);

0 commit comments

Comments
 (0)