From: Stefan Metzmacher Date: Fri, 13 Jan 2006 10:37:14 +0000 (+0000) Subject: r12899: - fix warnings on AIX X-Git-Tag: samba-4.0.0alpha6~801^3~7446 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=6b566e83a640b0b95d730b2aeab816a44f3aebdf r12899: - fix warnings on AIX - fix compilation of auth/kerberos/krb5_init_context.c on AIX metze (This used to be commit 0e1ad08a8515056f4ed0923889bef04d85b84964) --- diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c index b23c2c88bfa..8e52ac5e3f2 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 d2a72cacfbf..844b7d9b17e 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 #include +#ifdef HAVE_INTTYPES_H +#include +#endif #include "lib/replace/replace.h" #endif