Commit 9ddf854c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

isc_socket.c: Include <stdlib.h>.

parent 4452b13e
......@@ -7,7 +7,8 @@
(isc_resolve_remote): Return 0 on success.
* src/intern.h (struct isc_mcb): Added adns.
(struct isc_scb_internal): Added adns_query.
* src/isc_socket.c (isc_dns_resolve_adns_cb): New function.
* src/isc_socket.c: Include <stdlib.h>.
(isc_dns_resolve_adns_cb): New function.
(isc_resolve_remote): Try to use adns to look up the address.
Fall back to the old method if adns returns ENOSYS, which
indicates that it doesn't support the addess family.
......
......@@ -54,6 +54,7 @@
#endif
#include <fcntl.h>
#include <assert.h>
#include <stdlib.h>
#include "oop.h"
#include "adns.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment