]> granicus.if.org Git - curl/commitdiff
Fixed some include file problems on Windows reported by David Rosenstrauch
authorDan Fandrich <dan@coneharvesters.com>
Thu, 22 May 2008 19:44:10 +0000 (19:44 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 22 May 2008 19:44:10 +0000 (19:44 +0000)
lib/krb5.c
lib/security.c

index 22aef16992a91e55027eca4d843233c9416a81e3..552ea25dc0b9aa0e1156b9cb9b67d9a891f81de8 100644 (file)
@@ -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"
 
index a07da0b1e2601a939268920e6a6b2b7cfe1fd4a6..60585a45ea8271f6ca6dabbc9067e343a44dad5a 100644 (file)
 
 #include <stdlib.h>
 #include <string.h>
+
+#ifdef HAVE_NETDB_H
 #include <netdb.h>
+#endif
 
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>