From 3c9405a0f7d76602415b3cbe8d52d7714b6ce5af Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 7 Oct 2010 11:50:45 +0200 Subject: 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 --- qemu-common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qemu-common.h') 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 -- cgit v1.2.1