summaryrefslogtreecommitdiffstats
path: root/x11vnc/linuxfb.c
diff options
context:
space:
mode:
authorrunge <runge>2006-11-13 15:33:00 +0000
committerrunge <runge>2006-11-13 15:33:00 +0000
commit4a83f87609b9d53b2983806be58ccd02498a5cd3 (patch)
treea79c96930a97fb162edd1765adece43425f8db8a /x11vnc/linuxfb.c
parent5f9693d4a2c511f8f2ea069373807c5f36ac1459 (diff)
downloadlibtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.tar.gz
libtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.zip
x11vnc: Native Mac OS X support.
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);