aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-device.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-04 21:04:41 -0500
committerMike Frysinger <vapier@gentoo.org>2021-12-04 22:09:42 -0500
commit2c29882f833f634d776b19fa15a1f1bad70bf447 (patch)
tree40925a6a8590fa8e8389caee67e97004f0a040dc /sim/common/hw-device.c
parent20a8e078cc573f85f7262f7b87be3cf8e8a6424f (diff)
downloadgdb-2c29882f833f634d776b19fa15a1f1bad70bf447.zip
gdb-2c29882f833f634d776b19fa15a1f1bad70bf447.tar.gz
gdb-2c29882f833f634d776b19fa15a1f1bad70bf447.tar.bz2
sim: include stdarg.h when used
Avoid implicit include deps with this to help untangle sim headers so we can get rid of arch-specific sim-main.h.
Diffstat (limited to 'sim/common/hw-device.c')
-rw-r--r--sim/common/hw-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/hw-device.c b/sim/common/hw-device.c
index b30eede..28450fa 100644
--- a/sim/common/hw-device.c
+++ b/sim/common/hw-device.c
@@ -22,6 +22,7 @@
/* This must come before any other includes. */
#include "defs.h"
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>