diff options
author | Mikael Hallendal <micke@imendio.com> | 2008-10-26 17:41:28 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-10-26 18:09:12 +0100 |
commit | 15581560d9f599afa22928f4fb4a558f153072e1 (patch) | |
tree | b55b02a8938a1a3b02694889372f72a059bf4fad /libasyncns | |
parent | 65c2dd924c80ffae95bbabe7ac1f3034f6fcc921 (diff) |
Patch for asyncns.c on Mac OS X
Hi,
The asyncns-test.c file needed the same fix but 'make check' still
fails with the following error:
Undefined symbols:
"_res_9_dn_expand", referenced from:
_main in asyncns-test.o
_main in asyncns-test.o
_main in asyncns-test.o
ld: symbol(s) not found
I haven't looked into where they are supposed to be defined though
(about to run off for dinner here).
Attaching small patch for async-test.c (also moved the header check
into your already existing AC_CHECK_HEADERS).
Cheers,
Micke
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Diffstat (limited to 'libasyncns')
-rw-r--r-- | libasyncns/asyncns-test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libasyncns/asyncns-test.c b/libasyncns/asyncns-test.c index 053b5bd..112cf11 100644 --- a/libasyncns/asyncns-test.c +++ b/libasyncns/asyncns-test.c @@ -34,6 +34,10 @@ #include <signal.h> #include <errno.h> +#if HAVE_ARPA_NAMESER_COMPAT_H +#include <arpa/nameser_compat.h> +#endif + #include "asyncns.h" int main(int argc, char *argv[]) { |