diff options
author | runge <runge@karlrunge.com> | 2010-04-18 19:37:37 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-04-18 19:37:37 -0400 |
commit | b74c8f4241ec8c3d972ee97d0ce9a399ddd09ce1 (patch) | |
tree | c8c8aaec90fd51a10790795030777b2dda548fe7 /x11vnc/x11vnc.h | |
parent | 2a8ba97ec5b0f7fbfcfc8adab6732a95e95c7204 (diff) | |
download | libtdevnc-b74c8f42.tar.gz libtdevnc-b74c8f42.zip |
Improvements to demo scripts. Alias -coe for -connect_or_exit. Fix HAVE_V4L2. Warn no Xvfb, Xdummy, or Xvnc. Xinerama screens.
Diffstat (limited to 'x11vnc/x11vnc.h')
-rw-r--r-- | x11vnc/x11vnc.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/x11vnc/x11vnc.h b/x11vnc/x11vnc.h index f77cccd..8d69543 100644 --- a/x11vnc/x11vnc.h +++ b/x11vnc/x11vnc.h @@ -316,14 +316,35 @@ extern int h_errno; #include <arpa/inet.h> #endif +#ifndef SOL_IPV6 +#ifdef IPPROTO_IPV6 +#define SOL_IPV6 IPPROTO_IPV6 +#endif +#endif + +#ifndef IPV6_V6ONLY +#ifdef IPV6_BINDV6ONLY +#define IPV6_V6ONLY IPV6_BINDV6ONLY +#endif +#endif + #ifndef X11VNC_IPV6 -#if defined(AF_INET6) || defined(PF_INET6) +#if defined(AF_INET6) #define X11VNC_IPV6 1 #else #define X11VNC_IPV6 0 #endif #endif +#ifndef X11VNC_LISTEN6 +#define X11VNC_LISTEN6 1 +#endif + +#if !X11VNC_IPV6 +#undef X11VNC_LISTEN6 +#define X11VNC_LISTEN6 0 +#endif + #if LIBVNCSERVER_HAVE_PWD_H #include <pwd.h> #include <grp.h> |