base: misc: Include cstdlib in base/misc.hh.
authorGabe Black <gabeblack@google.com>
Fri, 2 Jun 2017 00:24:42 +0000 (17:24 -0700)
committerGabe Black <gabeblack@google.com>
Sat, 3 Jun 2017 21:43:10 +0000 (21:43 +0000)
commit85b393f9c1d12ad882e1e4231386bab3b001f6c9
treea13cd1c2209ef9b3108a26ffb238f1021b9d47f8
parent53679854bea00ba57d1a8c2f626cdd60364c39c3
base: misc: Include cstdlib in base/misc.hh.

Some of the macros, notably panic, uses exit(). Callers shouldn't have to
know that or have coincidentally included cstdlib, the provider of exit,
themselves.

Change-Id: I634602ed1795dcc8897b4bddb1167c96763acc18
Reviewed-on: https://gem5-review.googlesource.com/3601
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/base/misc.hh