summaryrefslogtreecommitdiff
path: root/sockaddr.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-15 15:25:31 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-15 15:25:31 -0500
commitc078e8fdad7700e452c9973d8719315c7b298de3 (patch)
tree84e1a00308419ccf3e904c3bf40f4345578ec635 /sockaddr.h
parent494bdad6b849d18ce86437d9193edfe3d1211710 (diff)
downloadgpsd-c078e8fdad7700e452c9973d8719315c7b298de3.tar.gz
Lift some buried #includes. All regression tests pass.
Diffstat (limited to 'sockaddr.h')
-rw-r--r--sockaddr.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sockaddr.h b/sockaddr.h
index 7f5ef72f..61866d09 100644
--- a/sockaddr.h
+++ b/sockaddr.h
@@ -1,12 +1,5 @@
/* klugey def'n of a socket address struct helps hide IPV4 vs. IPV6 ugliness */
-#include <netdb.h>
-#include <sys/un.h>
-#include <arpa/inet.h> /* for htons() and friends */
-#ifndef S_SPLINT_S
-#include <sys/socket.h>
-#endif /* S_SPLINT_S */
-
typedef union sockaddr_u {
struct sockaddr sa;
struct sockaddr_in sa_in;