comparison src/getpagesize.h @ 112317:7df2e30d72ec

Include <unistd.h> unilaterally.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 09 Jan 2011 00:12:35 -0800
parents 1d1d5d9bd884
children 17e0028efc29
comparison
equal deleted inserted replaced
112316:2887524f362a 112317:7df2e30d72ec
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 19
20 #ifndef HAVE_GETPAGESIZE 20 #ifndef HAVE_GETPAGESIZE
21 21
22 # ifdef HAVE_UNISTD_H 22 # include <unistd.h>
23 # include <unistd.h>
24 # endif
25 23
26 # ifdef _SC_PAGESIZE 24 # ifdef _SC_PAGESIZE
27 # define getpagesize() sysconf(_SC_PAGESIZE) 25 # define getpagesize() sysconf(_SC_PAGESIZE)
28 # else /* no _SC_PAGESIZE */ 26 # else /* no _SC_PAGESIZE */
29 # ifdef HAVE_SYS_PARAM_H 27 # ifdef HAVE_SYS_PARAM_H