diff options
-rw-r--r-- | lib/krb5.c | 3 | ||||
-rw-r--r-- | lib/security.c | 3 |
2 files changed, 6 insertions, 0 deletions
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 <curl/mprintf.h> + /* 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 <stdlib.h> #include <string.h> + +#ifdef HAVE_NETDB_H #include <netdb.h> +#endif #ifdef HAVE_UNISTD_H #include <unistd.h> |