X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetpagesize.h;h=b09b2c24b1daa0c81317882933549679f395008d;hb=3ad2f5c449dce16de6568dec93a60a8065d433d7;hp=17f070f634386da1beb124e3be1a9664f84a35f8;hpb=267a39bafd249d7eb9c37df06dc6defcf41cb343;p=gnulib.git diff --git a/lib/getpagesize.h b/lib/getpagesize.h index 17f070f63..b09b2c24b 100644 --- a/lib/getpagesize.h +++ b/lib/getpagesize.h @@ -1,5 +1,5 @@ /* Emulate getpagesize on systems that lack it. - Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2004, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,17 +18,15 @@ #ifndef HAVE_GETPAGESIZE -#ifdef HAVE_UNISTD_H -# include -#endif +#include #if !defined getpagesize && defined _SC_PAGESIZE -# if !(defined VMS && __VMS_VER < 70000000) +# if ! (defined __VMS && __VMS_VER < 70000000) # define getpagesize() sysconf (_SC_PAGESIZE) # endif #endif -#if !defined getpagesize && defined VMS +#if !defined getpagesize && defined __VMS # ifdef __ALPHA # define getpagesize() 8192 # else