summaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r--gcc/ggc-common.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index 2c3c8b3061d..b7f1524387f 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -36,22 +36,6 @@ along with GCC; see the file COPYING3. If not see
#include "vec.h"
#include "timevar.h"
-#ifdef HAVE_SYS_RESOURCE_H
-# include <sys/resource.h>
-#endif
-
-#ifdef HAVE_MMAP_FILE
-# include <sys/mman.h>
-# ifdef HAVE_MINCORE
-/* This is on Solaris. */
-# include <sys/types.h>
-# endif
-#endif
-
-#ifndef MAP_FAILED
-# define MAP_FAILED ((void *)-1)
-#endif
-
/* When set, ggc_collect will do collection. */
bool ggc_force_collect;