aboutsummaryrefslogtreecommitdiff
path: root/src/network/gethostbyname2_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/gethostbyname2_r.c')
-rw-r--r--src/network/gethostbyname2_r.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/gethostbyname2_r.c b/src/network/gethostbyname2_r.c
index a5eb67fe..cc0d8761 100644
--- a/src/network/gethostbyname2_r.c
+++ b/src/network/gethostbyname2_r.c
@@ -80,3 +80,11 @@ int gethostbyname2_r(const char *name, int af,
*res = h;
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif