summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/krb5
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-30 17:34:00 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-30 17:38:40 +0100
commit73dbbe0d5406d1852f85a17b506a4b943ad1926f (patch)
tree22b8bcc7b7001a9651e420226b9cd6afc9afe175 /source4/heimdal/lib/krb5
parent94cb0835ca690cc7eb115693e672ea9a662fc671 (diff)
downloadsamba-73dbbe0d5406d1852f85a17b506a4b943ad1926f.tar.gz
samba-73dbbe0d5406d1852f85a17b506a4b943ad1926f.tar.bz2
samba-73dbbe0d5406d1852f85a17b506a4b943ad1926f.zip
heimdal: don't include <ifaddrs.h> without knowing it's there
metze
Diffstat (limited to 'source4/heimdal/lib/krb5')
-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 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)