summaryrefslogtreecommitdiffstats
path: root/crypto/o_str.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-01-12 11:22:31 +0000
committerBen Laurie <ben@openssl.org>2008-01-12 11:22:31 +0000
commitf12797a447ba622177f0ef67d73cec744db9592a (patch)
treeb2b249fc464244feafdaa2e5416aa0172e0a4c40 /crypto/o_str.c
parentfa8e921f6627e2b9e0a8b11f5a0bfcc2e7e0190c (diff)
Missing headers.
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..2b4d0dcd5e 100644
--- a/crypto/o_str.c
+++ b/crypto/o_str.c
@@ -60,6 +60,10 @@
#include <e_os.h>
#include "o_str.h"
+#ifndef OPENSSL_IMPLEMENTS_strncasecmp
+# include <strings.h>
+#endif
+
int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n)
{
#if defined(OPENSSL_IMPLEMENTS_strncasecmp)