summaryrefslogtreecommitdiffstats
path: root/x11vnc/macosxCG.c
diff options
context:
space:
mode:
authorrunge <runge>2007-12-16 02:26:38 +0000
committerrunge <runge>2007-12-16 02:26:38 +0000
commit3d0bd73627f7aa19d45488eeee49781ca9faa0f8 (patch)
tree6afda9c91d0be9cf6be2d0db0a094c0e76c38097 /x11vnc/macosxCG.c
parent2689647d6c7a9ab9c88faacf5dbc0200e9bc4a24 (diff)
downloadlibtdevnc-3d0bd73627f7aa19d45488eeee49781ca9faa0f8.tar.gz
libtdevnc-3d0bd73627f7aa19d45488eeee49781ca9faa0f8.zip
x11vnc: fix find_display and usleep() prototype on macosx.
-display console and check DISPLAY /tmp/...:0 on macosx. implement -noxinerama.
Diffstat (limited to 'x11vnc/macosxCG.c')
-rw-r--r--x11vnc/macosxCG.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/macosxCG.c b/x11vnc/macosxCG.c
index ce8e662..8152aa3 100644
--- a/x11vnc/macosxCG.c
+++ b/x11vnc/macosxCG.c
@@ -139,7 +139,11 @@ extern void do_new_fb(int);
extern int macosx_wait_for_switch, macosx_resize;
extern void macosxGCS_poll_pb(void);
+#if 0
extern void usleep(unsigned long usec);
+#else
+extern int usleep(useconds_t usec);
+#endif
extern unsigned int sleep(unsigned int seconds);
extern void clean_up_exit (int ret);