#include <folly/CPortability.h>
-#if FOLLY_HAVE_SCHED_H
- #include <sched.h>
-#endif
-
// Unaligned loads and stores
namespace folly {
#if FOLLY_HAVE_UNALIGNED_ACCESS
# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([fcntl.h features.h inttypes.h limits.h sched.h stdint.h stdlib.h string.h sys/time.h unistd.h mutex.h malloc.h bits/functexcept.h bits/c++config.h])
+AC_CHECK_HEADERS([fcntl.h features.h inttypes.h limits.h stdint.h stdlib.h string.h sys/time.h unistd.h mutex.h malloc.h bits/functexcept.h bits/c++config.h])
AC_CHECK_HEADER(double-conversion/double-conversion.h, [], [AC_MSG_ERROR(
[Couldn't find double-conversion.h, please download from \
#pragma once
-#include <sched.h>
#include <algorithm>
#include <atomic>
#include <cassert>
#include <folly/portability/GTest.h>
-#include <sched.h>
#include <memory>
#include <thread>
#include <type_traits>