diff options
author | Björn Jacke <bj@sernet.de> | 2009-07-03 19:13:08 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2009-07-03 19:13:08 +0200 |
commit | e9fc7c5e15ed87710be8f981b969ef411de25918 (patch) | |
tree | fafa98bc4d58cbda25a796936a378a7bace3f217 /source4 | |
parent | cdf025f012d6a426396da5478735663468023bd4 (diff) | |
download | samba-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.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal/lib/krb5/get_addrs.c | 2 |
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) |