summaryrefslogtreecommitdiff
path: root/src/network/h_errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/h_errno.c')
-rw-r--r--src/network/h_errno.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/h_errno.c b/src/network/h_errno.c
index 73ead046..5560234c 100644
--- 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_location(void)
+{
+ return &h_errno;
+}