summaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-08 23:05:29 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-08 23:05:29 +0000
commit31671de5dfef98ee6eb46e8435137751bfaf8acc (patch)
tree9da29492c80474d5809a2e4b8c1abef235ea8a39 /gcc/system.h
parentf48ac6551329833c376450dc03fd48796f2e68bd (diff)
downloadgcc-31671de5dfef98ee6eb46e8435137751bfaf8acc.tar.gz
* system.h: Prototype getpagesize if missing.
* configure.ac: Add getpagesize to gcc_AC_CHECK_DECLS. * configure: Regenerate. * config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84323 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 90d906b3b3a..c23a34954c6 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -303,6 +303,10 @@ extern char *getenv (const char *);
extern int getopt (int, char * const *, const char *);
#endif
+#if defined(HAVE_DECL_GETPAGESIZE) && !HAVE_DECL_GETPAGESIZE
+extern long getpagesize (void);
+#endif
+
#if defined (HAVE_DECL_GETWD) && !HAVE_DECL_GETWD
extern char *getwd (char *);
#endif