1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* 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>.
This commit is contained in:
Ulrich Drepper
2001-01-28 22:44:38 +00:00
parent 59c8d6e147
commit 3584d5fb31
3 changed files with 14 additions and 7 deletions

View File

@ -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. */