Skip to content
Snippets Groups Projects
Commit 43a41db6 authored by Asias He's avatar Asias He Committed by Pekka Enberg
Browse files

libc: Add __h_errno_location

parent 8d866083
No related branches found
No related tags found
No related merge requests found
......@@ -379,6 +379,7 @@ libc += network/inet_ntop.o
libc += network/proto.o
libc += network/if_indextoname.o
libc += network/gai_strerror.o
libc += network/h_errno.o
libc += prng/rand.o
libc += prng/random.o
......
#include <netdb.h>
#undef h_errno
int h_errno;
int *__h_errno_location(void)
{
return &h_errno;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment