summaryrefslogtreecommitdiff
path: root/sim/common/sim-syscall.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-04 21:09:23 -0500
committerMike Frysinger <vapier@gentoo.org>2021-12-04 22:10:04 -0500
commit843bf75416dd11d91a5d617f7a49f6e9e5025b42 (patch)
tree9c38ee66660ea7438c727dd330fce45520e0ee11 /sim/common/sim-syscall.c
parent33bbd5e8dd0d0967da4a86007ef1e8d268367492 (diff)
sim: include ansidecl.h when needed
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-syscall.c')
-rw-r--r--sim/common/sim-syscall.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/sim-syscall.c b/sim/common/sim-syscall.c
index 1e83db2ae8..26f57f431b 100644
--- a/sim/common/sim-syscall.c
+++ b/sim/common/sim-syscall.c
@@ -22,6 +22,8 @@
#include <errno.h>
+#include "ansidecl.h"
+
#include "sim-main.h"
#include "sim-syscall.h"
#include "sim/callback.h"