diff --git a/Userland/Libraries/LibCore/System.cpp b/Userland/Libraries/LibCore/System.cpp index 1063afd5aa..f52594fd45 100644 --- a/Userland/Libraries/LibCore/System.cpp +++ b/Userland/Libraries/LibCore/System.cpp @@ -1240,7 +1240,7 @@ ErrorOr uname() return uts; } -#ifndef AK_OS_ANDROID +#if !defined(AK_OS_ANDROID) && !defined(AK_OS_HAIKU) ErrorOr adjtime(const struct timeval* delta, struct timeval* old_delta) { # ifdef AK_OS_SERENITY diff --git a/Userland/Libraries/LibCore/System.h b/Userland/Libraries/LibCore/System.h index 9baf178154..c905dae160 100644 --- a/Userland/Libraries/LibCore/System.h +++ b/Userland/Libraries/LibCore/System.h @@ -188,7 +188,7 @@ ErrorOr utime(StringView path, Optional); ErrorOr utimensat(int fd, StringView path, struct timespec const times[2], int flag); ErrorOr uname(); ErrorOr> pipe2(int flags); -#ifndef AK_OS_ANDROID +#if !defined(AK_OS_ANDROID) && !defined(AK_OS_HAIKU) ErrorOr adjtime(const struct timeval* delta, struct timeval* old_delta); #endif enum class SearchInPath {