summaryrefslogtreecommitdiff
path: root/crypto/o_str.c
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2008-09-21 14:56:30 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2008-09-21 14:56:30 +0000
commitbb1499d2aac1d25a95b8573ff425751f06f159e1 (patch)
treea136b5b2317abe8eb83b021afe5e088230fd67e2 /crypto/o_str.c
parentee266f1253f9cc49430572463d26f72910dfb49e (diff)
Vendor import of OpenSSL 0.9.8i.vendor/openssl/0.9.8i
Notes
svn path=/vendor-crypto/openssl/dist/; revision=183234 svn path=/vendor-crypto/openssl/0.9.8i/; revision=193572; tag=vendor/openssl/0.9.8i
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 2db099333a7f..59cc25094b5a 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)