* lto.c: Only include <sys/mman.h> if HAVE_MMAP_FILE.
From-SVN: r152543
This commit is contained in:
parent
7190c775ff
commit
4bedf19ae7
|
@ -1,3 +1,7 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue