use __h_errno_location for h_errno
[musl] / src / network / h_errno.c
1 #include <netdb.h>
2
3 #undef h_errno;
4 int h_errno;
5
6 int *__h_errno_location(void)
7 {
8         return &h_errno;
9 }