diff options
-rw-r--r-- | sim/m68hc11/ChangeLog | 4 | ||||
-rw-r--r-- | sim/m68hc11/dv-m68hc11.c | 1 | ||||
-rw-r--r-- | sim/m68hc11/m68hc11_sim.c | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index eb1dea3..90d73df 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -1,5 +1,9 @@ 2021-01-30 Mike Frysinger <vapier@gentoo.org> + * dv-m68hc11.c, m68hc11_sim.c: Include stdlib.h. + +2021-01-30 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_HARDWARE): Inline variables. * configure: Regenerate. diff --git a/sim/m68hc11/dv-m68hc11.c b/sim/m68hc11/dv-m68hc11.c index 7fae3ed..3ec524a 100644 --- a/sim/m68hc11/dv-m68hc11.c +++ b/sim/m68hc11/dv-m68hc11.c @@ -25,6 +25,7 @@ #include "sim-options.h" #include "hw-base.h" #include <limits.h> +#include <stdlib.h> /* DEVICE diff --git a/sim/m68hc11/m68hc11_sim.c b/sim/m68hc11/m68hc11_sim.c index 517ba17..8eaa421 100644 --- a/sim/m68hc11/m68hc11_sim.c +++ b/sim/m68hc11/m68hc11_sim.c @@ -22,6 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "sim-module.h" #include "sim-options.h" +#include <stdlib.h> + enum { OPTION_CPU_RESET = OPTION_START, OPTION_EMUL_OS, |