summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/kerberos/krb5_init_context.c3
-rw-r--r--source4/heimdal_build/config.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c
index b23c2c88bf..8e52ac5e3f 100644
--- a/source4/auth/kerberos/krb5_init_context.c
+++ b/source4/auth/kerberos/krb5_init_context.c
@@ -23,11 +23,12 @@
#include "includes.h"
#include "system/kerberos.h"
-#include "system/network.h"
#include "auth/kerberos/kerberos.h"
#include "lib/socket/socket.h"
#include "lib/events/events.h"
+#include "heimdal_build/roken.h" /* needed on AIX for 'struct addrinfo' */
+
/*
context structure for operations on cldap packets
*/
diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h
index d2a72cacfb..844b7d9b17 100644
--- a/source4/heimdal_build/config.h
+++ b/source4/heimdal_build/config.h
@@ -42,6 +42,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
#include <sys/types.h>
#include <stdarg.h>
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
#include "lib/replace/replace.h"
#endif