diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-05-22 19:44:10 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-05-22 19:44:10 +0000 |
commit | 4aa176c1275108c3d75cea4cac6d2aa96c1623b4 (patch) | |
tree | 8c3aad3b5d614b05ccd446720b2f38b4a93895e0 | |
parent | 498e939f0e3da75cbd8b9093fb7846006e7f814b (diff) |
Fixed some include file problems on Windows reported by David Rosenstrauch
-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> |