From 4ffa2169d92f36017c80edf3fd8d5026b0c09dd6 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 24 Sep 2019 14:57:42 +0530 Subject: [PATCH] tdutils: Fix build for alpine linux * Error log: https://del.dog/ujofeqowol --- tdutils/td/utils/port/detail/ThreadPthread.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tdutils/td/utils/port/detail/ThreadPthread.cpp b/tdutils/td/utils/port/detail/ThreadPthread.cpp index c712cef0..4f869ad0 100644 --- a/tdutils/td/utils/port/detail/ThreadPthread.cpp +++ b/tdutils/td/utils/port/detail/ThreadPthread.cpp @@ -14,7 +14,9 @@ char disable_linker_warning_about_empty_file_thread_pthread_cpp TD_UNUSED; #include #include +#if TD_FREEBSD || TD_OPENBSD || TD_NETBSD #include +#endif #include namespace td {