aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-hw.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/sim-hw.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/sim-hw.c')
-rw-r--r--sim/common/sim-hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-hw.c b/sim/common/sim-hw.c
index 1b08643..0c2309c 100644
--- a/sim/common/sim-hw.c
+++ b/sim/common/sim-hw.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <ctype.h>
#include <errno.h>
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>