aboutsummaryrefslogtreecommitdiff
path: root/qemu-os-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-os-posix.h')
-rw-r--r--qemu-os-posix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-os-posix.h b/qemu-os-posix.h
index ed5c058bc3..353f87813f 100644
--- a/qemu-os-posix.h
+++ b/qemu-os-posix.h
@@ -36,4 +36,7 @@ void os_setup_signal_handling(void);
void os_daemonize(void);
void os_setup_post(void);
+typedef struct timeval qemu_timeval;
+#define qemu_gettimeofday(tp) gettimeofday(tp, NULL)
+
#endif