Commit 4bedf19a by Joseph Myers Committed by Joseph Myers

* lto.c: Only include <sys/mman.h> if HAVE_MMAP_FILE.

From-SVN: r152543
parent 7190c775
2009-10-07 Joseph Myers <joseph@codesourcery.com>
* lto.c: Only include <sys/mman.h> if HAVE_MMAP_FILE.
2009-10-07 Jan Hubicka <jh@suse.cz>
* lto.c (read_cgraph_and_symbols): Mark functions neccesary only at
......
......@@ -46,7 +46,9 @@ along with GCC; see the file COPYING3. If not see
/* This needs to be included after config.h. Otherwise, _GNU_SOURCE will not
be defined in time to set __USE_GNU in the system headers, and strsignal
will not be declared. */
#if HAVE_MMAP_FILE
#include <sys/mman.h>
#endif
DEF_VEC_P(bitmap);
DEF_VEC_ALLOC_P(bitmap,heap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment