aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-09-29 16:08:11 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-09-29 16:08:11 -0700
commite5ecd4eab370e282f825c8808f4918f17f5b05d2 (patch)
treebad7259d2f1042abc4115db568500ac07e0cecac
parentff669a6ce0cc7ce1cc98c9c5b0d51a972d24195d (diff)
downloadgcc-e5ecd4eab370e282f825c8808f4918f17f5b05d2.zip
gcc-e5ecd4eab370e282f825c8808f4918f17f5b05d2.tar.gz
gcc-e5ecd4eab370e282f825c8808f4918f17f5b05d2.tar.bz2
ggc-page.c: Don't include <unistd.h> etc taken care of by "system.h".
* ggc-page.c: Don't include <unistd.h> etc taken care of by "system.h". Include <sys/mman.h> afterward. From-SVN: r29713
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ggc-page.c11
2 files changed, 9 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3edb5af..99a0104 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
+
+ * ggc-page.c: Don't include <unistd.h> etc taken care of
+ by "system.h". Include <sys/mman.h> afterward.
+
Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
* rs6000.c (rs6000_encode_section_info): If ggc_p, use
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index 54528a5..226db4b 100644
--- a/gcc/ggc-page.c
+++ b/gcc/ggc-page.c
@@ -18,18 +18,15 @@
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include <unistd.h>
-#include <stdio.h>
-#include <sys/mman.h>
-#include <fcntl.h>
-
#include "config.h"
-#include "ggc.h"
-#include "rtl.h"
#include "system.h"
#include "tree.h"
+#include "rtl.h"
#include "varray.h"
#include "flags.h"
+#include "ggc.h"
+
+#include <sys/mman.h>
/* Stategy: