aboutsummaryrefslogtreecommitdiff
path: root/inet/netinet/in.h
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/in.h
parent59c8d6e1470a2807736de1aade9a2945bc150b6e (diff)
downloadglibc-3584d5fb31de58aef717b4eb8b71be4093e10430.zip
glibc-3584d5fb31de58aef717b4eb8b71be4093e10430.tar.gz
glibc-3584d5fb31de58aef717b4eb8b71be4093e10430.tar.bz2
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/in.h')
-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 3ffa5e2..ececb55 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. */