projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math.h: make __FLOAT_BITS and __DOUBLE_BITS C89
[musl]
/
src
/
network
/
h_errno.c
diff --git
a/src/network/h_errno.c
b/src/network/h_errno.c
index
73ead04
..
4f700ce
100644
(file)
--- a/
src/network/h_errno.c
+++ b/
src/network/h_errno.c
@@
-1
+1,9
@@
+#include <netdb.h>
+
+#undef h_errno
int h_errno;
int h_errno;
+
+int *__h_errno_location(void)
+{
+ return &h_errno;
+}