mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
sim: m68hc11: include stdlib.h for prototypes
These files use abort() & strtod(), so include stdlib.h for them.
This commit is contained in:
parent
d4e3adda12
commit
ee64caae5b
@ -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.
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "sim-options.h"
|
||||
#include "hw-base.h"
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* DEVICE
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user