Imported from ../bash-2.01.tar.gz.
[platform/upstream/bash.git] / lib / malloc / getpagesize.h
index 0cb4416..0b75b89 100644 (file)
@@ -19,6 +19,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #  include <unistd.h>
 #  if defined (_SC_PAGESIZE)
 #    define getpagesize() sysconf(_SC_PAGESIZE)
+#  else
+#    if defined (_SC_PAGE_SIZE)
+#      define getpagesize() sysconf(_SC_PAGE_SIZE)
+#    endif /* _SC_PAGE_SIZE */
 #  endif /* _SC_PAGESIZE */
 #endif