aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-events.h
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-events.h
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-events.h')
-rw-r--r--sim/common/hw-events.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/hw-events.h b/sim/common/hw-events.h
index 51ca5bd..7d75000 100644
--- a/sim/common/hw-events.h
+++ b/sim/common/hw-events.h
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef HW_EVENTS_H
#define HW_EVENTS_H
+#include <stdarg.h>
+
/* Event manager customized for hardware models.
This interface is discussed further in sim-events.h. */