mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add back the typedefs for in_addr_t and in_port_t; some broken autoconf
scripts expect <sys/types.h> to define them.
This commit is contained in:
parent
d8d00fade9
commit
2d7b9daffd
1 changed files with 10 additions and 0 deletions
|
|
@ -127,6 +127,16 @@ typedef __gid_t gid_t; /* group id */
|
|||
#define _GID_T_DECLARED
|
||||
#endif
|
||||
|
||||
#ifndef _IN_ADDR_T_DECLARED
|
||||
typedef __uint32_t in_addr_t; /* base type for internet address */
|
||||
#define _IN_ADDR_T_DECLARED
|
||||
#endif
|
||||
|
||||
#ifndef _IN_PORT_T_DECLARED
|
||||
typedef __uint16_t in_port_t;
|
||||
#define _IN_PORT_T_DECLARED
|
||||
#endif
|
||||
|
||||
#ifndef _ID_T_DECLARED
|
||||
typedef __id_t id_t; /* can hold a uid_t or pid_t */
|
||||
#define _ID_T_DECLARED
|
||||
|
|
|
|||
Loading…
Reference in a new issue