base: Include some required headers in amo.hh.
authorGabe Black <gabeblack@google.com>
Thu, 9 Jan 2020 09:14:21 +0000 (01:14 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 9 Jan 2020 20:44:48 +0000 (20:44 +0000)
commit02a1f8b28dda896e5400b8667008ad716ada3a52
treefc80fb78370b2418458ad1747a9ac5a6cfc31b43
parent2d2d579c4ad7f6b1b5aeae2605b0632fb4b05ad7
base: Include some required headers in amo.hh.

amo.hh was using several non-default definitions including
std::function, uint8_t, and std::array without including any headers
at all, and instead apparently relying on those having already been
brought in by an earlier include.

This change adds those includes explicitly.

Change-Id: I92166ff581e74bd705e10fd4fa454df179ae1a97
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24183
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/amo.hh