band-aide until _SC_PHYS_PAGES actually is defined

This commit is contained in:
Warner Losh 2006-12-14 22:14:14 +00:00
parent 143943aa35
commit a7e88f95bd

View File

@ -576,9 +576,11 @@ yesno: if (sysctl(mib, 2, &value, &len, NULL, 0) == -1)
mib[1] = HW_NCPU;
break;
#ifdef _SC_PHYS_PAGES
case _SC_PHYS_PAGES:
sname = "hw.availpages";
break;
#endif
default:
errno = EINVAL;