diff options
author | Greg Troxel <gdt@ir.bbn.com> | 2010-12-14 12:35:10 -0500 |
---|---|---|
committer | Greg Troxel <gdt@ir.bbn.com> | 2010-12-14 12:35:31 -0500 |
commit | ac847d30cec56c13281bedb3c30617020807e480 (patch) | |
tree | 7f597ecc3cf633cd11a13f4234ff926c8e9a0271 /net_dgpsip.c | |
parent | ef263458a274671e80c99836eb4894fcc2d389e0 (diff) | |
download | gpsd-ac847d30cec56c13281bedb3c30617020807e480.tar.gz |
Add sys/socket.h, following POSIX.
This file failed to compile due to use of AF_UNSPEC. POSIX says that
one needs to include sys/socket.h.
http://pubs.opengroup.org/onlinepubs/007908799/xns/syssocket.h.html
Diffstat (limited to 'net_dgpsip.c')
-rw-r--r-- | net_dgpsip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net_dgpsip.c b/net_dgpsip.c index a6646ae2..2fb28ca1 100644 --- a/net_dgpsip.c +++ b/net_dgpsip.c @@ -12,6 +12,7 @@ #ifndef S_SPLINT_S #include <unistd.h> #endif /* S_SPLINT_S */ +#include <sys/socket.h> #include "gpsd.h" |