summaryrefslogtreecommitdiff
path: root/inet/netinet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-28 22:44:38 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-28 22:44:38 +0000
commit3584d5fb31de58aef717b4eb8b71be4093e10430 (patch)
tree843d8746c6cd0a612f27c54c9783bbc9100afb44 /inet/netinet
parent59c8d6e1470a2807736de1aade9a2945bc150b6e (diff)
Update.
* inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t if not already happened. * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>. Don't include <limits.h> and <bits/sockaddr.h>.
Diffstat (limited to 'inet/netinet')
-rw-r--r--inet/netinet/in.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index 3ffa5e2c54..ececb553c3 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -20,11 +20,8 @@
#define _NETINET_IN_H 1
#include <features.h>
-#include <limits.h>
#include <stdint.h>
-
-#include <sys/types.h>
-#include <bits/socket.h>
+#include <bits/types.h>
__BEGIN_DECLS
@@ -212,7 +209,7 @@ extern const struct in6_addr in6addr_loopback; /* ::1 */
#define INET6_ADDRSTRLEN 46
/* Get the definition of the macro to define the common sockaddr members. */
-#include <bits/sockaddr.h>
+#include <bits/socket.h>
/* Structure describing an Internet socket address. */