diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-08-26 13:55:11 +0300 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-11-06 22:22:00 +0100 |
commit | f33b9d25385e2adfff6e861410f3f51a71d5bb4f (patch) | |
tree | 2d601fc6d8138adc44dfc4ce751ea3321db8db73 /test | |
parent | 54979ed77066235a6a189f5edffad9c833ef2af9 (diff) |
test: inet: fix build when res_close support is disabled
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | 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 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); |