git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
heimdal: don't include <ifaddrs.h> without knowing it's there
[samba.git]
/
source4
/
heimdal
/
lib
/
krb5
/
get_addrs.c
diff --git
a/source4/heimdal/lib/krb5/get_addrs.c
b/source4/heimdal/lib/krb5/get_addrs.c
index fb45d08d2946fb4f1525b4092277fbfa8e2b066a..ce167853192ac0c43eda16f1b736c320a9d44ed5 100644
(file)
--- 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)