summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-13 10:37:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:00 -0500
commit6b566e83a640b0b95d730b2aeab816a44f3aebdf (patch)
treedf22e27c53483993f02ee8898baa8c2f8d7a467b
parentc4a5381154b23869c5543ef36dfd064155e70cb1 (diff)
downloadsamba-6b566e83a640b0b95d730b2aeab816a44f3aebdf.tar.gz
samba-6b566e83a640b0b95d730b2aeab816a44f3aebdf.tar.bz2
samba-6b566e83a640b0b95d730b2aeab816a44f3aebdf.zip
r12899: - fix warnings on AIX
- fix compilation of auth/kerberos/krb5_init_context.c on AIX metze (This used to be commit 0e1ad08a8515056f4ed0923889bef04d85b84964)
-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