correct namespace pollution.

Submitted by:	bde
This commit is contained in:
Hajimu UMEMOTO 2003-10-25 09:37:10 +00:00
parent e334ea2edc
commit 16cd67e933
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121498
2 changed files with 6 additions and 2 deletions

View File

@ -35,11 +35,10 @@
*/
#ifndef _NETINET_IN_H_
#define _NETINET_IN_H_
#define _NETINET_IN_H_
#include <sys/cdefs.h>
#include <sys/_types.h>
#include <sys/socket.h>
#include <machine/endian.h>
/* Protocols common to RFC 1700, POSIX, and X/Open. */

View File

@ -639,6 +639,11 @@ typedef __size_t size_t;
#define _SIZE_T_DECLARED
#endif
#ifndef _SOCKLEN_T_DECLARED
typedef __socklen_t socklen_t;
#define _SOCKLEN_T_DECLARED
#endif
#if __BSD_VISIBLE
__BEGIN_DECLS