tdutils: Fix build for alpine linux

* Error log: https://del.dog/ujofeqowol
This commit is contained in:
levlam 2019-09-24 14:57:42 +05:30 committed by Aliaksei Levin
parent e37f7d1537
commit 4ffa2169d9

View File

@ -14,7 +14,9 @@ char disable_linker_warning_about_empty_file_thread_pthread_cpp TD_UNUSED;
#include <pthread.h> #include <pthread.h>
#include <sched.h> #include <sched.h>
#if TD_FREEBSD || TD_OPENBSD || TD_NETBSD
#include <sys/sysctl.h> #include <sys/sysctl.h>
#endif
#include <unistd.h> #include <unistd.h>
namespace td { namespace td {