summaryrefslogtreecommitdiffstats
path: root/crypto/o_str.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-03-29 13:22:49 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-03-29 13:22:49 +0000
commitfd6fa9c0b29642aeb3b09d6c07143430a68e5bf2 (patch)
tree188f84b7acdece200942902ff8e37ce25d97cb2f /crypto/o_str.c
parent9f70d09275b353e4150a5c8d801c694b2b0a23cb (diff)
Fix from HEAD.
Diffstat (limited to 'crypto/o_str.c')
-rw-r--r--crypto/o_str.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/o_str.c b/crypto/o_str.c
index 2db099333a..59cc25094b 100644
--- a/crypto/o_str.c
+++ b/crypto/o_str.c
@@ -60,6 +60,10 @@
#include <e_os.h>
#include "o_str.h"
+#if !defined(OPENSSL_IMPLEMENTS_strncasecmp) && !defined(OPENSSL_SYSNAME_WIN32)
+# include <strings.h>
+#endif
+
int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n)
{
#if defined(OPENSSL_IMPLEMENTS_strncasecmp)