cmake HAVE_SCHED examples

ceph/ceph cmake/modules/CephChecks.cmake :55

CHECK_INCLUDE_FILES("sched.h" HAVE_SCHED)

SChernykh/p2pool CMakeLists.txt :293

check_cxx_source_compiles("#include <sched.h>\nint main(){sched_param param;return sched_setscheduler(0, SCHED_IDLE, &param);}" HAVE_SCHED)

SChernykh/p2pool CMakeLists.txt :371

add_definitions(-DHAVE_SCHED)