diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal_build/glue.c | 3 | ||||
-rw-r--r-- | source4/include/includes.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/source4/heimdal_build/glue.c b/source4/heimdal_build/glue.c index d3ac8ee5b2..1c74b39d11 100644 --- a/source4/heimdal_build/glue.c +++ b/source4/heimdal_build/glue.c @@ -23,12 +23,11 @@ #include "includes.h" #include "system/network.h" #include "system/kerberos.h" -#include "err.h" /* get the list of IP addresses for configured interfaces */ -krb5_error_code krb5_get_all_client_addrs(krb5_context context, krb5_addresses *res) +krb5_error_code KRB5_LIB_FUNCTION krb5_get_all_client_addrs(krb5_context context, krb5_addresses *res) { int i; res->len = iface_count(); diff --git a/source4/include/includes.h b/source4/include/includes.h index 00054b985d..cedd51b6f3 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -64,6 +64,10 @@ #include <winsock2.h> #endif +#ifdef HAVE_WS2TCPIP_H +#include <ws2tcpip.h> +#endif + #ifdef HAVE_WINDOWS_H #include <windows.h> #endif |