summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal/lib/krb5/get_addrs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/heimdal/lib/krb5/get_addrs.c b/source4/heimdal/lib/krb5/get_addrs.c
index 8f366fa148..96571af531 100644
--- a/source4/heimdal/lib/krb5/get_addrs.c
+++ b/source4/heimdal/lib/krb5/get_addrs.c
@@ -41,7 +41,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)