diff options
author | imp <imp@FreeBSD.org> | 2006-12-14 22:14:14 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-12-14 22:14:14 +0000 |
commit | 7cc2522d0abd2b1c9374fe6e4bb2d9f24a18bb71 (patch) | |
tree | d4052cc6e260cff365ff63792519368a5ada8d3d /lib/libc/gen/sysconf.c | |
parent | 4409545097ddb188a7d8318401e7a8bdb03a7dff (diff) | |
download | FreeBSD-src-7cc2522d0abd2b1c9374fe6e4bb2d9f24a18bb71.zip FreeBSD-src-7cc2522d0abd2b1c9374fe6e4bb2d9f24a18bb71.tar.gz |
band-aide until _SC_PHYS_PAGES actually is defined
Diffstat (limited to 'lib/libc/gen/sysconf.c')
-rw-r--r-- | lib/libc/gen/sysconf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/sysconf.c b/lib/libc/gen/sysconf.c index fc844cc..78c4071 100644 --- a/lib/libc/gen/sysconf.c +++ b/lib/libc/gen/sysconf.c @@ -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; |