aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorAaron W. LaFramboise <aaronraolete36@aaronwl.com>2004-07-08 23:05:29 +0000
committerPer Bothner <bothner@gcc.gnu.org>2004-07-08 16:05:29 -0700
commit6a25777816bd6068fd4da098471b3763f9908cdc (patch)
tree9da29492c80474d5809a2e4b8c1abef235ea8a39 /gcc/system.h
parent0196fbb3c39f764d19b2f96c5828d47ef25da991 (diff)
downloadgcc-6a25777816bd6068fd4da098471b3763f9908cdc.zip
gcc-6a25777816bd6068fd4da098471b3763f9908cdc.tar.gz
gcc-6a25777816bd6068fd4da098471b3763f9908cdc.tar.bz2
system.h: Prototype getpagesize if missing.
* system.h: Prototype getpagesize if missing. * configure.ac: Add getpagesize to gcc_AC_CHECK_DECLS. * configure: Regenerate. * config.in: Regenerate. From-SVN: r84323
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 90d906b..c23a349 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