summaryrefslogtreecommitdiff
path: root/lib/getpagesize.h
diff options
context:
space:
mode:
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