aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/tests/x86_emulator/x86_emulate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tests/x86_emulator/x86_emulate.c b/tools/tests/x86_emulator/x86_emulate.c
index f18f615209..b157adef51 100644
--- a/tools/tests/x86_emulator/x86_emulate.c
+++ b/tools/tests/x86_emulator/x86_emulate.c
@@ -1,3 +1,4 @@
+#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
@@ -8,6 +9,7 @@
typedef bool bool_t;
#define BUG() abort()
+#define ASSERT assert
#define cpu_has_amd_erratum(nr) 0
#define mark_regs_dirty(r) ((void)(r))