The changes to getconf.c in 829aad36 (submitted in
https://savannah.gnu.org/patch/?10367) seem to have a typo. Should likely
be:

diff --git a/examples/loadables/getconf.c b/examples/loadables/getconf.c
index af5544f0..f3f1ffcd 100644
--- a/examples/loadables/getconf.c
+++ b/examples/loadables/getconf.c
@@ -274,11 +274,13 @@ static const struct conf vars[] =
 #ifdef _SC_AVPHYS_PAGES
     { "_AVPHYS_PAGES", _SC_AVPHYS_PAGES, SYSCONF },
 #endif
-#ifdef _NPROCESSORS_CONF
+#ifdef _SC_NPROCESSORS_CONF
     { "_NPROCESSORS_CONF", _SC_NPROCESSORS_CONF, SYSCONF },
+#endif
+#ifdef _SC_NPROCESSORS_ONLN
     { "_NPROCESSORS_ONLN", _SC_NPROCESSORS_ONLN, SYSCONF },
 #endif
-#ifdef _PHYS_PAGES
+#ifdef _SC_PHYS_PAGES
     { "_PHYS_PAGES", _SC_PHYS_PAGES, SYSCONF },
 #endif
 #ifdef _SC_ARG_MAX

Reply via email to