diff options
author | Christian Beier <dontmind@freeshell.org> | 2010-10-20 14:47:35 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2010-10-20 14:47:35 +0200 |
commit | fbb93c9efe9105c6bd74333ed144111f59ba60a8 (patch) | |
tree | afd5013e5208f721dae912dcc75f540f3a5d2d89 | |
parent | 6803bfe9d5b9f52215c2aecc25cd9ab9a22c07e3 (diff) | |
download | libvncserver-fbb93c9efe9105c6bd74333ed144111f59ba60a8.zip libvncserver-fbb93c9efe9105c6bd74333ed144111f59ba60a8.tar.gz |
Fix build failure wrt IP QoS support in libvncclient.
This is a small addendum to 0797e42a4aaf8131ae71899faea2d682ed81cb59.
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.
-rw-r--r-- | libvncclient/sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/sockets.c b/libvncclient/sockets.c index a4caaa5..334928e 100644 --- a/libvncclient/sockets.c +++ b/libvncclient/sockets.c @@ -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; |