diff --git a/lib/krb5.c b/lib/krb5.c index 22aef1699..552ea25dc 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -62,6 +62,9 @@ #include "krb4.h" #include "memory.h" +#define _MPRINTF_REPLACE /* use our functions only */ +#include + /* The last #include file should be: */ #include "memdebug.h" diff --git a/lib/security.c b/lib/security.c index a07da0b1e..60585a45e 100644 --- a/lib/security.c +++ b/lib/security.c @@ -51,7 +51,10 @@ #include #include + +#ifdef HAVE_NETDB_H #include +#endif #ifdef HAVE_UNISTD_H #include