diff options
author | runge <runge> | 2006-11-13 15:33:00 +0000 |
---|---|---|
committer | runge <runge> | 2006-11-13 15:33:00 +0000 |
commit | 4a83f87609b9d53b2983806be58ccd02498a5cd3 (patch) | |
tree | a79c96930a97fb162edd1765adece43425f8db8a /x11vnc/linuxfb.c | |
parent | 5f9693d4a2c511f8f2ea069373807c5f36ac1459 (diff) | |
download | libvncserver-4a83f87609b9d53b2983806be58ccd02498a5cd3.zip libvncserver-4a83f87609b9d53b2983806be58ccd02498a5cd3.tar.gz |
x11vnc: Native Mac OS X support.
Diffstat (limited to 'x11vnc/linuxfb.c')
-rw-r--r-- | x11vnc/linuxfb.c | 6 |
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); |