1glibc >= 2.32 has removed sys/sysctl.h see
2
3https://sourceware.org/git/?p=glibc.git;a=commit;h=076f09afbac1aa57756faa7a8feadb7936a724e4
4
5This check therefore ensures that its only used on linux when glibc has support for it
6
7Upstream-Status: Pending
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10--- a/ace/config-linux.h
11+++ b/ace/config-linux.h
12@@ -20,6 +20,10 @@
13
14 #include "ace/config-linux-common.h"
15
16+#if (__GLIBC__  > 2)  || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 32)
17+#  define ACE_LACKS_SYS_SYSCTL_H
18+#endif
19+
20 #define ACE_HAS_BYTESEX_H
21
22 #if (defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= 500)
23