summaryrefslogtreecommitdiff
path: root/osdep.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-07 17:40:15 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-07 17:40:15 +0000
commitf7b4a940a430da0e2d48b74e85a8a941c1c2fabc (patch)
tree3a5a43fa7fdd736f61ceaea048eca71d991a10f5 /osdep.h
parentfa879c641435bec4b79872ad14b9a90c8b7172f3 (diff)
snapshot subcommand for qemu-img (Kevin Wolf)
Add snapshot subcommand to qemu-img which allows to list, create, apply and delete snapshots on qcow2 images. Signed-off-by: Kevin Wolf <kwolf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6215 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.h')
-rw-r--r--osdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep.h b/osdep.h
index dbc281f3b..ffbf221d7 100644
--- a/osdep.h
+++ b/osdep.h
@@ -7,6 +7,10 @@
#include <sys/signal.h>
#endif
+#ifndef _WIN32
+#include <sys/time.h>
+#endif
+
#ifndef glue
#define xglue(x, y) x ## y
#define glue(x, y) xglue(x, y)