Add check for sys/sysctl.h (#5726)
authorPeter Jas <necmon@yahoo.com>
Sat, 11 Jun 2016 18:05:47 +0000 (21:05 +0300)
committerJan Kotas <jkotas@microsoft.com>
Sat, 11 Jun 2016 18:05:47 +0000 (11:05 -0700)
commit0eafec3e1065ba68c10f065d2713aaea0f75c160
tree9bd54151f321d26ca7b3ffe676ec9642a22ab587
parente266aff51403794bb2bd925a7ebb1ea53b119575
Add check for sys/sysctl.h (#5726)

On some operating systems `<sys/sysctl.h>`is not present yet `sysct`
function in available. One example is Alpine Linux which uses musl-libc
as opposed to GNU libc.

Ref: dotnet/corefx#6253
src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp
src/pal/src/config.h.in
src/pal/src/configure.cmake