Re-introduce socklen_t definition to netdb.h

This commit is contained in:
Sajid Anwar 2018-06-25 14:01:45 -07:00 committed by fincs
parent 35be7ac772
commit aee9ba4706

View File

@ -68,6 +68,11 @@
#include <sys/_types.h> #include <sys/_types.h>
#include <stdint.h> #include <stdint.h>
#ifndef _SOCKLEN_T_DECLARED
typedef __socklen_t socklen_t;
#define _SOCKLEN_T_DECLARED
#endif
extern __thread int h_errno; extern __thread int h_errno;
// Removed some FreeBSD definitions // Removed some FreeBSD definitions