From: Dan Fandrich Date: Thu, 22 May 2008 19:44:10 +0000 (+0000) Subject: Fixed some include file problems on Windows reported by David Rosenstrauch X-Git-Tag: curl-7_18_2~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4aa176c1275108c3d75cea4cac6d2aa96c1623b4;p=thirdparty%2Fcurl.git Fixed some include file problems on Windows reported by David Rosenstrauch --- diff --git a/lib/krb5.c b/lib/krb5.c index 22aef16992..552ea25dc0 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 a07da0b1e2..60585a45ea 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