diff options
author | Werner Koch <[email protected]> | 2015-11-09 19:34:42 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-11-09 19:34:42 +0000 |
commit | f92e95175e90120362a7d6376fb32307e11267b5 (patch) | |
tree | 21d936ec20f982586f11da8c3bbb0e0ca0c60cf3 /dirmngr/dns-stuff.c | |
parent | scd: Add reder information to --card-status. (diff) | |
download | gnupg-f92e95175e90120362a7d6376fb32307e11267b5.tar.gz gnupg-f92e95175e90120362a7d6376fb32307e11267b5.zip |
dirmngr: Improve detection of ADNS.
* configure.ac (HAVE_ADNS_FREE): New ac_define.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/dns-stuff.c')
-rw-r--r-- | dirmngr/dns-stuff.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dirmngr/dns-stuff.c b/dirmngr/dns-stuff.c index 3220d7659..cae2c5737 100644 --- a/dirmngr/dns-stuff.c +++ b/dirmngr/dns-stuff.c @@ -65,6 +65,11 @@ # define AI_ADDRCONFIG 0 #endif +/* Provide a replacement function for older ADNS versions. */ +#ifndef HAVE_ADNS_FREE +# define adns_free(a) free ((a)) +#endif + /* Not every installation has gotten around to supporting SRVs or CERTs yet... */ #ifndef T_SRV |