mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
correct namespace pollution.
Submitted by: bde
This commit is contained in:
parent
e334ea2edc
commit
16cd67e933
2 changed files with 6 additions and 2 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue