sim: model: constify sim_machs storage
[binutils-gdb.git] / sim / iq2000 / mloop.in
index 094a656359599ae84b888a363a6748b3d530dd64..7d3a9b5e9a1aa283e696245dc391b7d7d7cea0db 100644 (file)
@@ -1,5 +1,5 @@
 # Simulator main loop for IQ2000. -*- C -*-
-# Copyright (C) 1998-2015 Free Software Foundation, Inc.
+# Copyright (C) 1998-2021 Free Software Foundation, Inc.
 # Contributed by Cygnus Solutions.
 #
 # This file is part of the GNU Simulators.
@@ -40,6 +40,7 @@ case "x$1" in
 xsupport)
 
 cat <<EOF
+#include <stdlib.h>
 
 static INLINE const IDESC *
 extract (SIM_CPU *current_cpu, PCADDR pc, CGEN_INSN_INT insn, ARGBUF *abuf,