]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows port: Allow build of eDirectory Digest helper using Visual Studio, also impro...
authorserassio <>
Sun, 12 Aug 2007 02:45:40 +0000 (02:45 +0000)
committerserassio <>
Sun, 12 Aug 2007 02:45:40 +0000 (02:45 +0000)
helpers/digest_auth/eDirectory/digest_common.h
helpers/digest_auth/eDirectory/edir_ldapext.c
helpers/digest_auth/ldap/digest_common.h
helpers/digest_auth/ldap/ldap_backend.c

index 8804745aabf8295559ad56ed4553a527ee2ad9dc..71ce579030ed68d6bdb6211d69b382d64a5364c4 100644 (file)
 #if HAVE_STDLIB_H
 #include <stdlib.h>
 #endif
+#if HAVE_CTYPE_H
+#include <ctype.h>
+#endif
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif
 #if HAVE_STRING_H
 #include <string.h>
 #endif
+#if HAVE_STRINGS_H
+#include <strings.h>
+#endif
 #if HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
index c6711c5231e7d389814f6d07191312bd3eeef842..5c3a2538572f328e601f611d08994ef1726fb613 100644 (file)
@@ -19,9 +19,6 @@
  * find current contact  information at www.novell.com.
  */ 
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <strings.h>
 #include "digest_common.h"
 
 #ifdef _SQUID_MSWIN_           /* Native Windows port and MinGW */
@@ -29,6 +26,7 @@
 #define snprintf _snprintf
 #include <windows.h>
 #include <winldap.h>
+#include <winber.h>
 #ifndef LDAPAPI
 #define LDAPAPI __cdecl
 #endif
index 8804745aabf8295559ad56ed4553a527ee2ad9dc..21e77a002f9db5e16f93dfad007645d2323cc3f5 100644 (file)
@@ -18,6 +18,9 @@
 #if HAVE_STDLIB_H
 #include <stdlib.h>
 #endif
+#if HAVE_CTYPE_H
+#include <ctype.h>
+#endif
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif
index 7b0b975c8e61b24f016fe55b3de72020a0b687b0..75312ad23e29c751080c2da2f360ba0abe0594de 100644 (file)
@@ -8,10 +8,6 @@
 
 #define LDAP_DEPRECATED 1
 
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
 #include "ldap_backend.h"
 
 #ifdef _SQUID_MSWIN_ /* Native Windows port and MinGW */