mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 04:22:50 +02:00
Re-introduce socklen_t definition to netdb.h
This commit is contained in:
parent
35be7ac772
commit
aee9ba4706
5
nx/external/bsd/include/netdb.h
vendored
5
nx/external/bsd/include/netdb.h
vendored
@ -68,6 +68,11 @@
|
||||
#include <sys/_types.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef _SOCKLEN_T_DECLARED
|
||||
typedef __socklen_t socklen_t;
|
||||
#define _SOCKLEN_T_DECLARED
|
||||
#endif
|
||||
|
||||
extern __thread int h_errno;
|
||||
// Removed some FreeBSD definitions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user