diff options
author | Bernd Zeimetz <bernd@bzed.de> | 2014-01-27 22:11:20 +0100 |
---|---|---|
committer | Bernd Zeimetz <bernd@bzed.de> | 2014-01-27 22:11:20 +0100 |
commit | f2753b6728b1857fa78cc0695cce7dc819db5c51 (patch) | |
tree | ee3605b2220f4ad809dcf8785d8e05ae7d223845 /gpsd.c | |
parent | a2cc01dfe71391c16020b1b982d7b6627b301ee5 (diff) | |
download | gpsd-f2753b6728b1857fa78cc0695cce7dc819db5c51.tar.gz |
Make gpsd build on hurd again.
IPV6_TCLASS is not defined in socket.h on hurd.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -149,6 +149,14 @@ static struct gps_context_t context; static int sd_socket_count = 0; #endif +/* work around the unfinished ipv6 implementation on hurd */ +#ifdef __GNU__ +#ifndef IPV6_TCLASS +#define IPV6_TCLASS 67 +#endif +#endif + + static volatile sig_atomic_t signalled; static void onsig(int sig) |