From 91174efbb8e2fb09520477af6593f99b865777b0 Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 4 Jan 2009 04:56:53 +0000 Subject: x11vnc: fix compiler warnings. --- x11vnc/cleanup.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'x11vnc/cleanup.c') 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; -- cgit v1.2.1