summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gpsd.c b/gpsd.c
index c0caa780..bb71c7d4 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -446,12 +446,10 @@ static socket_t passivesock_af(int af, char *service, char *tcp_or_udp, int qlen
(void)close(s);
return -1;
}
-#ifdef IPV6_TCLASS /* Hurd doesn't have this as of May 2014 */
/* Set packet priority */
if (setsockopt(s, IPPROTO_IPV6, IPV6_TCLASS, &dscp, sizeof(dscp)) == -1)
gpsd_report(context.debug, LOG_WARN,
"Warning: SETSOCKOPT TOS failed\n");
-#endif /* IPV6_TCLASS */
}
#endif /* S_SPLINT_S */
break;