summaryrefslogtreecommitdiffstats
path: root/x11vnc/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r--x11vnc/cleanup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c
index 08a4e1f..0a3b9af 100644
--- a/x11vnc/cleanup.c
+++ b/x11vnc/cleanup.c
@@ -15,6 +15,9 @@
#include "macosx.h"
#include "macosxCG.h"
#include "avahi.h"
+#include "screen.h"
+#include "xrecord.h"
+#include "xevents.h"
/*
* Exiting and error handling routines
@@ -270,6 +273,8 @@ static int Xerror(Display *d, XErrorEvent *error) {
return (*Xerror_def)(d, error);
}
+void watch_loop(void);
+
static int XIOerr(Display *d) {
static int reopen = 0, rmax = 1;
X_UNLOCK;