Define u_register_t if __BSD_VISIBLE

Add u_register_t definition for FreeBSD compatibility.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
Sebastian Huber 2019-02-18 09:41:13 +01:00
parent 688e584efe
commit 1d35a003fd
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ typedef __uint32_t in_addr_t; /* base type for internet address */
typedef __uint16_t in_port_t; typedef __uint16_t in_port_t;
#define _IN_PORT_T_DECLARED #define _IN_PORT_T_DECLARED
#endif #endif
typedef __uintptr_t u_register_t;
#endif /* __BSD_VISIBLE */ #endif /* __BSD_VISIBLE */
#if __MISC_VISIBLE #if __MISC_VISIBLE