summaryrefslogtreecommitdiffstats
path: root/x11vnc/macosx.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/macosx.c')
-rw-r--r--x11vnc/macosx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11vnc/macosx.c b/x11vnc/macosx.c
index 59aa92e..450cf50 100644
--- a/x11vnc/macosx.c
+++ b/x11vnc/macosx.c
@@ -24,6 +24,7 @@
#include "macosxCGP.h"
#include "macosxCGS.h"
+void macosx_log(char *);
char *macosx_console_guess(char *str, int *fd);
void macosx_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
void macosx_pointer_command(int mask, int x, int y, rfbClientPtr client);
@@ -45,6 +46,10 @@ void macosx_add_destroy(Window win, int level);
void macosx_add_visnotify(Window win, int level, int obscured);
int macosx_checkevent(XEvent *ev);
+void macosx_log(char *str) {
+ rfbLog(str);
+}
+
#if (! DOMAC)
void macosx_event_loop(void) {