summaryrefslogtreecommitdiff
path: root/test/inet
diff options
context:
space:
mode:
Diffstat (limited to 'test/inet')
-rw-r--r--test/inet/tst-res.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/inet/tst-res.c b/test/inet/tst-res.c
index ad9de789e..b65f30fd6 100644
--- a/test/inet/tst-res.c
+++ b/test/inet/tst-res.c
@@ -22,7 +22,9 @@ int main(int argc, char **argv)
abort();
}
+#ifdef __UCLIBC_HAS_BSD_RES_CLOSE__
res_close();
+#endif
#ifdef __UCLIBC__
/* assume there is at least one resolver configured */
assert (state._u._ext.nscount > 0);