Fix scoped_mmap includes
authorTom Tromey <tom@tromey.com>
Tue, 7 May 2019 01:54:53 +0000 (19:54 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 7 May 2019 03:00:52 +0000 (21:00 -0600)
commit26bfd82367d6ffeb1a61495ac445542e757df5b2
tree600fc610bc4370250ee7eada064b4652c5ec787f
parentc0a57f1536fceabe89c4e8100c7170f6dd8bab38
Fix scoped_mmap includes

I noticed that scoped_mmap.h included config.h, and that scoped_mmap.c
included defs.h.  This patch fixes both of these problems.

Tested by the buildbot.

gdb/ChangeLog
2019-05-06  Tom Tromey  <tom@tromey.com>

* common/scoped_mmap.c: Include common-defs.h.
* common/scoped_mmap.h: Don't include config.h.
gdb/ChangeLog
gdb/common/scoped_mmap.c
gdb/common/scoped_mmap.h