From dc786bc9103801fac5b90511b0761255b4eab622 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Tue, 26 Oct 2010 10:39:23 +0200 Subject: Move qemu_gettimeofday() to OS specific files Signed-off-by: Jes Sorensen Signed-off-by: Blue Swirl --- qemu-os-win32.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'qemu-os-win32.h') diff --git a/qemu-os-win32.h b/qemu-os-win32.h index c63778d2fc..1a07e5e264 100644 --- a/qemu-os-win32.h +++ b/qemu-os-win32.h @@ -52,4 +52,12 @@ static inline void os_set_proc_name(const char *dummy) {} # define EPROTONOSUPPORT EINVAL #endif +int setenv(const char *name, const char *value, int overwrite); + +typedef struct { + long tv_sec; + long tv_usec; +} qemu_timeval; +int qemu_gettimeofday(qemu_timeval *tp); + #endif -- cgit v1.2.3