projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08fd0fa
)
monitor: use qemu_gettimeofday(), not gettimeofday()
author
Blue Swirl
<blauwirbel@gmail.com>
Fri, 4 Dec 2009 18:06:39 +0000
(18:06 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Fri, 4 Dec 2009 18:06:39 +0000
(18:06 +0000)
Fix mingw32 build.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index
3cb3cf4
..
689a853
100644
(file)
--- a/
monitor.c
+++ b/
monitor.c
@@
-55,6
+55,7
@@
#include "qjson.h"
#include "json-streamer.h"
#include "json-parser.h"
+#include "osdep.h"
//#define DEBUG
//#define DEBUG_COMPLETION
@@
-320,9
+321,9
@@
static void timestamp_put(QDict *qdict)
{
int err;
QObject *obj;
-
struct
timeval tv;
+
qemu_
timeval tv;
- err =
gettimeofday(&tv, NULL
);
+ err =
qemu_gettimeofday(&tv
);
if (err < 0)
return;