summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-07-03 19:13:08 +0200
committerBjörn Jacke <bj@sernet.de>2009-07-03 19:13:08 +0200
commite9fc7c5e15ed87710be8f981b969ef411de25918 (patch)
treefafa98bc4d58cbda25a796936a378a7bace3f217
parentcdf025f012d6a426396da5478735663468023bd4 (diff)
downloadsamba-e9fc7c5e15ed87710be8f981b969ef411de25918.tar.gz
samba-e9fc7c5e15ed87710be8f981b969ef411de25918.tar.bz2
samba-e9fc7c5e15ed87710be8f981b969ef411de25918.zip
heimdal: don't include <ifaddrs.h> without knowing it's there
this is 73dbbe0d54 re-added. abartlet, please pick this to lorikeet.
-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)