mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-06 03:12:15 +02:00
netinet: fix missing declarations (?)
This commit is contained in:
parent
319cc578ca
commit
45e4b7cceb
9
nx/external/bsd/include/netinet/in.h
vendored
9
nx/external/bsd/include/netinet/in.h
vendored
@ -72,6 +72,15 @@ typedef __socklen_t socklen_t;
|
|||||||
#define _SOCKLEN_T_DECLARED
|
#define _SOCKLEN_T_DECLARED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _IN_ADDR_T_DECLARED
|
||||||
|
typedef __uint32_t in_addr_t;
|
||||||
|
#define _IN_ADDR_T_DECLARED
|
||||||
|
#endif
|
||||||
|
#ifndef _IN_PORT_T_DECLARED
|
||||||
|
typedef __uint16_t in_port_t;
|
||||||
|
#define _IN_PORT_T_DECLARED
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/_sockaddr_storage.h>
|
#include <sys/_sockaddr_storage.h>
|
||||||
|
|
||||||
/* Socket address, internet style. */
|
/* Socket address, internet style. */
|
||||||
|
Loading…
Reference in New Issue
Block a user