[PATCH] Use correct headers for strcasecmp

Marcus Meissner marcus at jet.franken.de
Sat Sep 30 05:26:20 CDT 2006


We need to include string.h and also wine/port.h
to get strcasecmp on platforms where it is missing.

Ciao, Marcus

---

 dlls/crypt32/oid.c   |    4 ++++
 dlls/crypt32/store.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

47545629d62da964293348a905f886162aae4f85
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index ca4d40f..099ce2f 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -16,8 +16,11 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
+#include "config.h"
+
 #include <stdio.h>
 #include <stdarg.h>
+#include <string.h>
 #define NONAMELESSUNION
 #include "windef.h"
 #include "winbase.h"
@@ -26,6 +29,7 @@
 #include "winuser.h"
 #include "wine/debug.h"
 #include "wine/list.h"
+#include "wine/port.h"
 #include "crypt32_private.h"
 #include "cryptres.h"
 
diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c
index 0aaa89d..dde58df 100644
--- a/dlls/crypt32/store.c
+++ b/dlls/crypt32/store.c
@@ -23,8 +23,11 @@
  * - Many flags, options and whatnot are unimplemented.
  */
 
+#include "config.h"
+
 #include <assert.h>
 #include <stdarg.h>
+#include <string.h>
 #include "windef.h"
 #include "winbase.h"
 #include "winnls.h"
@@ -33,6 +36,7 @@
 #include "wincrypt.h"
 #include "wine/debug.h"
 #include "wine/list.h"
+#include "wine/port.h"
 #include "excpt.h"
 #include "wine/exception.h"
 #include "crypt32_private.h"
-- 
1.2.4



More information about the wine-patches mailing list