summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-05-22 10:12:50 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-05-22 10:12:50 -0400
commita5a48c26ac09fefde755abd067b20f69d07064c9 (patch)
tree657a169b2f91ea9f844f1571fc1a2c58731ccfea
parent240bb497fbf178a01c40f92ee5b18e4472c5792a (diff)
downloadgpsd-a5a48c26ac09fefde755abd067b20f69d07064c9.tar.gz
Revert "Work around a Hurd problem revealed by test building."
bzed had a better fix for this in place.
-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;