summaryrefslogtreecommitdiff
path: root/lib/getpagesize.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-10-29 23:43:34 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-10-29 23:43:34 +0000
commita4a87ad5bbe2c8ae501d45841832559be73ee459 (patch)
treeaf15c9a49c57aa39eb4f2fc03fab48702b7df9e8 /lib/getpagesize.h
parentdf8ea7a4e890f5f24e948bac0e7e500122f99a47 (diff)
downloadcoreutils-a4a87ad5bbe2c8ae501d45841832559be73ee459.tar.xz
Sync from gnulib.
Diffstat (limited to 'lib/getpagesize.h')
-rw-r--r--lib/getpagesize.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getpagesize.h b/lib/getpagesize.h
index 80d9eb3be..e63c1c708 100644
--- a/lib/getpagesize.h
+++ b/lib/getpagesize.h
@@ -1,5 +1,5 @@
/* Emulate getpagesize on systems that lack it.
- Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2004 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
@@ -44,7 +44,7 @@
# endif
#endif
-#ifndef getpagesize
+#if !defined getpagesize && HAVE_SYS_PARAM_H
# include <sys/param.h>
# ifdef EXEC_PAGESIZE
# define getpagesize() EXEC_PAGESIZE