[git commit] test: inet: fix build when res_close support is disabled
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Nov 6 21:22:00 UTC 2013
commit: http://git.uclibc.org/uClibc/commit/?id=f33b9d25385e2adfff6e861410f3f51a71d5bb4f
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
test/inet/tst-res.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/test/inet/tst-res.c b/test/inet/tst-res.c
index ad9de78..b65f30f 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);
More information about the uClibc-cvs
mailing list