diff options
Diffstat (limited to 'x11vnc/macosxCG.c')
-rw-r--r-- | x11vnc/macosxCG.c | 4 |
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); |