diff options
author | Jari Aalto <jari.aalto@cante.net> | 1998-04-17 19:52:44 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:51 +0000 |
commit | cce855bc5b117cb7ae70064131120687bc69fac0 (patch) | |
tree | 39c7a4ec8f6d22ef03df74f2684e6a04fef10399 /lib/malloc/getpagesize.h | |
parent | e8ce775db824de329b81293b4e5d8fbd65624528 (diff) | |
download | android_external_bash-cce855bc5b117cb7ae70064131120687bc69fac0.tar.gz android_external_bash-cce855bc5b117cb7ae70064131120687bc69fac0.tar.bz2 android_external_bash-cce855bc5b117cb7ae70064131120687bc69fac0.zip |
Imported from ../bash-2.02.tar.gz.
Diffstat (limited to 'lib/malloc/getpagesize.h')
-rw-r--r-- | lib/malloc/getpagesize.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/malloc/getpagesize.h b/lib/malloc/getpagesize.h index 0b75b89..6085a5c 100644 --- a/lib/malloc/getpagesize.h +++ b/lib/malloc/getpagesize.h @@ -16,6 +16,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #if defined (HAVE_UNISTD_H) +# ifdef _MINIX +# include <sys/types.h> +# endif # include <unistd.h> # if defined (_SC_PAGESIZE) # define getpagesize() sysconf(_SC_PAGESIZE) @@ -27,7 +30,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #if !defined (getpagesize) -# include <sys/param.h> +# ifndef _MINIX +# include <sys/param.h> +# endif # if defined (PAGESIZE) # define getpagesize() PAGESIZE # else /* !PAGESIZE */ |