r12899: - fix warnings on AIX
authorStefan Metzmacher <metze@samba.org>
Fri, 13 Jan 2006 10:37:14 +0000 (10:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:00 +0000 (13:51 -0500)
- fix compilation of auth/kerberos/krb5_init_context.c on AIX

metze
(This used to be commit 0e1ad08a8515056f4ed0923889bef04d85b84964)

source4/auth/kerberos/krb5_init_context.c
source4/heimdal_build/config.h

index b23c2c88bfa0e9dcfa6c905a488d5443a0c67ccb..8e52ac5e3f29c9565c9b9e643ec98f7c1fc918fd 100644 (file)
 
 #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
 */
index d2a72cacfbf3f8e0bf8b6111571ba055fb8d26e1..844b7d9b17e37031d6371d7ff097bb2eb8b4b2dd 100644 (file)
@@ -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