aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-10-07 11:50:45 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-12-09 14:23:24 +0100
commit3c9405a0f7d76602415b3cbe8d52d7714b6ce5af (patch)
tree1be9d19af7fa9034a4159113e065c2f9bee283d4 /qemu-common.h
parent6bffdf0f83263bad1dd2187c533758d7cb6f5bcf (diff)
vnc: support password expire
This patch adds support for expiring passwords to vnc. It adds a new vnc_display_pw_expire() function which specifies the time when the password will expire. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h
index de82c2ea13..188b05f98c 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -50,6 +50,9 @@ typedef struct DeviceState DeviceState;
#if !defined(ENOTSUP)
#define ENOTSUP 4096
#endif
+#ifndef TIME_MAX
+#define TIME_MAX LONG_MAX
+#endif
#ifndef CONFIG_IOVEC
#define CONFIG_IOVEC