On 12/12/19 9:31 AM, Yasumasa Suenaga wrote: > AFAICS sysctl.h provides `sysctl()` and some macros, but they are not used in > PosixPlatform.cpp . > In fact, I did not see any error when I remove `#include <sys/sysctl.h>` from > it.
You probably won't see an error unless you configure with --disable-precompiled-headers. Please try that, and we can then consider removing that #include. -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. <https://www.redhat.com> https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671