X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/08b3caa982199bd7939d9d6877203ada5d0083b5..e6013e8c8f3de0ca39c17a2da95346b4a320e6d0:/src/getpagesize.h
diff --git a/src/getpagesize.h b/src/getpagesize.h
index 928e0440cc..75dd99f4c2 100644
--- a/src/getpagesize.h
+++ b/src/getpagesize.h
@@ -1,6 +1,6 @@
/* Emulate getpagesize on systems that lack it.
- Copyright (C) 1986, 1992, 1995, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1992, 1995, 2001-2015 Free Software Foundation,
+ Inc.
This file is part of GNU Emacs.
@@ -19,16 +19,10 @@ along with GNU Emacs. If not, see . */
#ifndef HAVE_GETPAGESIZE
-# ifdef VMS
-# define getpagesize() 512
-# endif
-
-# ifdef HAVE_UNISTD_H
-# include
-# endif
+# include
# ifdef _SC_PAGESIZE
-# define getpagesize() sysconf(_SC_PAGESIZE)
+# define getpagesize() sysconf (_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
# ifdef HAVE_SYS_PARAM_H
# include
@@ -53,5 +47,3 @@ along with GNU Emacs. If not, see . */
#endif /* no HAVE_GETPAGESIZE */
-/* arch-tag: ff6206e3-97e2-4763-923a-e84bf28eabbc
- (do not change this comment) */