sim: common: add missing stdlib.h for abort()
This commit is contained in:
parent
ba9e922fa0
commit
ce0be4070f
@ -1,3 +1,8 @@
|
|||||||
|
2021-01-09 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* cgen-par.c: Include stdlib.h.
|
||||||
|
* cgen-trace.c, hw-events.c, sim-abort.c: Likewise.
|
||||||
|
|
||||||
2021-01-08 Mike Frysinger <vapier@gentoo.org>
|
2021-01-08 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* Make-common.in (C_DIALECT): Define.
|
* Make-common.in (C_DIALECT): Define.
|
||||||
|
@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "sim-main.h"
|
#include "sim-main.h"
|
||||||
|
#include <stdlib.h>
|
||||||
#include "cgen-mem.h"
|
#include "cgen-mem.h"
|
||||||
#include "cgen-par.h"
|
#include "cgen-par.h"
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include "dis-asm.h"
|
#include "dis-asm.h"
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
#include "sim-main.h"
|
#include "sim-main.h"
|
||||||
|
@ -187,6 +187,7 @@ hw_event_remain_time (struct hw *me, struct hw_event *event)
|
|||||||
#include "sim-main.h"
|
#include "sim-main.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
static void
|
static void
|
||||||
test_handler (struct hw *me,
|
test_handler (struct hw *me,
|
||||||
|
@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "sim-main.h"
|
#include "sim-main.h"
|
||||||
#include "sim-assert.h"
|
#include "sim-assert.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user