diff options
Diffstat (limited to 'source4/heimdal/lib/krb5')
-rw-r--r-- | source4/heimdal/lib/krb5/error_string.c | 2 | ||||
-rw-r--r-- | source4/heimdal/lib/krb5/get_addrs.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/heimdal/lib/krb5/error_string.c b/source4/heimdal/lib/krb5/error_string.c index db2df4798c..6374fa17ae 100644 --- a/source4/heimdal/lib/krb5/error_string.c +++ b/source4/heimdal/lib/krb5/error_string.c @@ -271,7 +271,7 @@ void KRB5_LIB_FUNCTION krb5_clear_error_string(krb5_context context) __attribute__((deprecated)) { - return krb5_clear_error_message(context); + krb5_clear_error_message(context); } #endif /* !HEIMDAL_SMALLER */ diff --git a/source4/heimdal/lib/krb5/get_addrs.c b/source4/heimdal/lib/krb5/get_addrs.c index fb45d08d29..ce16785319 100644 --- a/source4/heimdal/lib/krb5/get_addrs.c +++ b/source4/heimdal/lib/krb5/get_addrs.c @@ -43,7 +43,9 @@ struct mbuf; #ifdef HAVE_NET_IF_H #include <net/if.h> #endif +#ifdef HAVE_IFADDR_H #include <ifaddrs.h> +#endif static krb5_error_code gethostname_fallback (krb5_context context, krb5_addresses *res) |