diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index bc9e6fa9a8..152ad601e0 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,6 @@ 2007-02-06 Ralf Corsépius + * posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215). * score/inline/rtems/score/coremsg.inl: More size_t and consts. 2007-02-06 Ralf Corsépius diff --git a/cpukit/posix/src/sysconf.c b/cpukit/posix/src/sysconf.c index 4a8add9e35..60a890d896 100644 --- a/cpukit/posix/src/sysconf.c +++ b/cpukit/posix/src/sysconf.c @@ -13,6 +13,8 @@ #include #include +#include + /*PAGE * * 4.8.1 Get Configurable System Variables, P1003.1b-1993, p. 95 @@ -34,6 +36,9 @@ long sysconf( case _SC_GETPW_R_SIZE_MAX: return 1024; + + case _SC_PAGESIZE: + return PAGE_SIZE; #if defined(__sparc__) case 515: /* Solaris _SC_STACK_PROT */