summaryrefslogtreecommitdiff
path: root/sockaddr.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-14 12:00:11 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-14 12:00:11 -0500
commit4ab8e1ad57bc7cbbcf7ab531128b63d7e450eecd (patch)
tree9be8c845fc93630b1f9eb58087db4b2e4e4891fe /sockaddr.h
parent068d0764a8533c64923c4cab43d93910aa5e4920 (diff)
downloadgpsd-4ab8e1ad57bc7cbbcf7ab531128b63d7e450eecd.tar.gz
Remove another unneeded header.
Diffstat (limited to 'sockaddr.h')
-rw-r--r--sockaddr.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sockaddr.h b/sockaddr.h
index 7ba0d4b5..7f5ef72f 100644
--- a/sockaddr.h
+++ b/sockaddr.h
@@ -2,8 +2,7 @@
#include <netdb.h>
#include <sys/un.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
+#include <arpa/inet.h> /* for htons() and friends */
#ifndef S_SPLINT_S
#include <sys/socket.h>
#endif /* S_SPLINT_S */