summaryrefslogtreecommitdiffstats
path: root/x11vnc/linuxfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/linuxfb.c')
-rw-r--r--x11vnc/linuxfb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/linuxfb.c b/x11vnc/linuxfb.c
index 878d87f..a884acc 100644
--- a/x11vnc/linuxfb.c
+++ b/x11vnc/linuxfb.c
@@ -9,6 +9,7 @@
#include "allowed_input_t.h"
#include "uinput.h"
#include "keyboard.h"
+#include "macosx.h"
#if LIBVNCSERVER_HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
@@ -26,6 +27,11 @@ char *console_guess(char *str, int *fd) {
char *atparms = NULL, *file = NULL;
int do_input, have_uinput, tty = -1;
+#ifdef MACOSX
+ return macosx_console_guess(str, fd);
+#endif
+
+
if (strstr(in, "/dev/fb") == in) {
free(in);
in = (char *) malloc(strlen("console:") + strlen(str) + 1);