summaryrefslogtreecommitdiffstats
path: root/x11vnc/user.c
diff options
context:
space:
mode:
authorrunge <runge>2006-06-24 01:00:43 +0000
committerrunge <runge>2006-06-24 01:00:43 +0000
commit9992160105b0433484bca804d62eb672aff113de (patch)
tree76447789365f2cfc38e5650a3a34cd9ad132382f /x11vnc/user.c
parent64e731a9da82e3cc614e274d6fca6f855d0359b7 (diff)
downloadlibtdevnc-9992160105b0433484bca804d62eb672aff113de.tar.gz
libtdevnc-9992160105b0433484bca804d62eb672aff113de.zip
x11vnc: misc cleanup.
Diffstat (limited to 'x11vnc/user.c')
-rw-r--r--x11vnc/user.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11vnc/user.c b/x11vnc/user.c
index 0b78f99..94d1797 100644
--- a/x11vnc/user.c
+++ b/x11vnc/user.c
@@ -8,6 +8,11 @@
#include "unixpw.h"
#include "sslhelper.h"
#include "xwrappers.h"
+#include "connections.h"
+#include "inet.h"
+#include "keyboard.h"
+#include "cursor.h"
+#include "remote.h"
void check_switched_user(void);
void lurk_loop(char *str);
@@ -1128,7 +1133,7 @@ int wait_for_client(int *argc, char** argv, int http) {
XImage* fb_image;
int w = 640, h = 480, b = 32;
int w0, h0, i, chg_raw_fb = 0;
- char *str, *q, *p, *cmd = NULL;
+ char *str, *q, *cmd = NULL;
int db = 0;
char tmp[] = "/tmp/x11vnc-find_display.XXXXXX";
int tmp_fd = -1, dt = 0;