aboutsummaryrefslogtreecommitdiff
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 638f7718..7aa671ed 100644
--- a/src/network/h_errno.c
+++ b/src/network/h_errno.c
@@ -9,3 +9,11 @@ int *__h_errno_location(void)
if (!__pthread_self()->stack) return &h_errno;
return &__pthread_self()->h_errno_val;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif