summaryrefslogtreecommitdiffstats
path: root/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'sockets.c')
-rw-r--r--sockets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sockets.c b/sockets.c
index 0b2f8ac..fe20c49 100644
--- a/sockets.c
+++ b/sockets.c
@@ -61,6 +61,8 @@ struct timeval
#include "rfb.h"
+int max(int i,int j) { return(i<j?j:i); }
+
int rfbMaxClientWait = 20000; /* time (ms) after which we decide client has
gone away - needed to stop us hanging */