mirror of
https://git.busybox.net/uClibc
synced 2025-10-14 01:32:00 +08:00
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>
This commit is contained in:

committed by
Bernhard Reutner-Fischer

parent
54979ed770
commit
f33b9d2538
@@ -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);
|
||||
|
Reference in New Issue
Block a user