summaryrefslogtreecommitdiffstats
path: root/x11vnc/user.c
diff options
context:
space:
mode:
authorrunge <runge>2007-03-25 02:43:00 +0000
committerrunge <runge>2007-03-25 02:43:00 +0000
commit3f0f799d2050ec046c28a54b027b377cf573ef9e (patch)
tree2a492e6373397ae0a8d535150a7fc8a6923322ec /x11vnc/user.c
parentca56c41c9c59048167e46073043d2fcd3db305de (diff)
downloadlibtdevnc-3f0f799d2050ec046c28a54b027b377cf573ef9e.tar.gz
libtdevnc-3f0f799d2050ec046c28a54b027b377cf573ef9e.zip
x11vnc: remove build errors, get -ncache working on macosx again.
Diffstat (limited to 'x11vnc/user.c')
-rw-r--r--x11vnc/user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11vnc/user.c b/x11vnc/user.c
index 8f4befb..cb2853f 100644
--- a/x11vnc/user.c
+++ b/x11vnc/user.c
@@ -13,6 +13,7 @@
#include "keyboard.h"
#include "cursor.h"
#include "remote.h"
+#include "avahi.h"
void check_switched_user(void);
void lurk_loop(char *str);
@@ -1796,7 +1797,7 @@ if (db) fprintf(stderr, "%d -- %s -- %s\n", i, proc, buf);
}
}
}
- if (7 <= vt && vt <= 128) {
+ if (7 <= vt && vt <= 12) {
char chvt[100];
sprintf(chvt, "chvt %d >/dev/null 2>/dev/null &", vt);
rfbLog("running: %s\n", chvt);