summaryrefslogtreecommitdiffstats
path: root/gen-icount.h
diff options
context:
space:
mode:
Diffstat (limited to 'gen-icount.h')
-rw-r--r--gen-icount.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gen-icount.h b/gen-icount.h
index 248cf5b..1541f0b 100644
--- a/gen-icount.h
+++ b/gen-icount.h
@@ -1,3 +1,6 @@
+#ifndef GEN_ICOUNT_H
+#define GEN_ICOUNT_H 1
+
#include "qemu-timer.h"
/* Helpers for instruction counting code generation. */
@@ -46,3 +49,5 @@ static inline void gen_io_end(void)
tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUArchState, can_do_io));
tcg_temp_free_i32(tmp);
}
+
+#endif
OpenPOWER on IntegriCloud