Commit fbb93c9e authored by Christian Beier's avatar Christian Beier

Fix build failure wrt IP QoS support in libvncclient.

This is a small addendum to 0797e42a.
Seems that having IPv6 support in the OS does not necessarily mean that
IPV6_TCLASS is available. One such case seems to be Mac OS X 10.5.
parent 6803bfe9
......@@ -599,7 +599,7 @@ SetDSCP(int sock, int dscp)
switch(addr.sa_family)
{
#ifdef LIBVNCSERVER_IPv6
#if defined LIBVNCSERVER_IPv6 && defined IPV6_TCLASS
case AF_INET6:
level = IPPROTO_IPV6;
cmd = IPV6_TCLASS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment