diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-12-04 21:09:23 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-12-04 22:10:04 -0500 |
commit | 843bf75416dd11d91a5d617f7a49f6e9e5025b42 (patch) | |
tree | 9c38ee66660ea7438c727dd330fce45520e0ee11 /sim/common/sim-utils.h | |
parent | 33bbd5e8dd0d0967da4a86007ef1e8d268367492 (diff) | |
download | gdb-843bf75416dd11d91a5d617f7a49f6e9e5025b42.zip gdb-843bf75416dd11d91a5d617f7a49f6e9e5025b42.tar.gz gdb-843bf75416dd11d91a5d617f7a49f6e9e5025b42.tar.bz2 |
sim: include ansidecl.h when needed
Avoid implicit include deps with this to help untangle sim headers
so we can get rid of arch-specific sim-main.h.
Diffstat (limited to 'sim/common/sim-utils.h')
-rw-r--r-- | sim/common/sim-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/sim-utils.h b/sim/common/sim-utils.h index 1af4ea2..20ca9fc 100644 --- a/sim/common/sim-utils.h +++ b/sim/common/sim-utils.h @@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef SIM_UTILS_H #define SIM_UTILS_H +#include "ansidecl.h" + /* Memory management with an allocator that clears memory before use. */ void *zalloc (unsigned long size); |