sim: m68hc11: include stdlib.h for prototypes

These files use abort() & strtod(), so include stdlib.h for them.
This commit is contained in:
Mike Frysinger 2021-01-30 10:21:15 -05:00
parent d4e3adda12
commit ee64caae5b
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -25,6 +25,7 @@
#include "sim-options.h"
#include "hw-base.h"
#include <limits.h>
#include <stdlib.h>
/* DEVICE

View File

@ -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,