From: Mike Frysinger Date: Wed, 5 May 2021 02:03:37 +0000 (-0400) Subject: sim: mips: include stdlib.h for memory prototypes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77c0fdb7ff33eb5cbea9f71703eca1557499fc0c;p=binutils-gdb.git sim: mips: include stdlib.h for memory prototypes This file uses free() and friends, so include it to fix missing prototype warnings. --- diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 3301767f3c7..c8cf4e2501e 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2021-05-04 Mike Frysinger + + * dv-tx3904sio.c: Include stdlib.h. + 2021-05-04 Mike Frysinger * configure.ac (hw_extra_devices): Inline contents into diff --git a/sim/mips/dv-tx3904sio.c b/sim/mips/dv-tx3904sio.c index 74e6f56ee2e..9676344bc33 100644 --- a/sim/mips/dv-tx3904sio.c +++ b/sim/mips/dv-tx3904sio.c @@ -24,6 +24,7 @@ #include "dv-sockser.h" #include "sim-assert.h" +#include /* DEVICE