summaryrefslogtreecommitdiffstats
path: root/crypto/o_str.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-07-08 08:32:48 +0000
committerRichard Levitte <levitte@openssl.org>2004-07-08 08:32:48 +0000
commitdc56eb507997848532be954a658e3a6136e908a3 (patch)
tree1b76d1dd10884424daf8719edcc7eb399670ca50 /crypto/o_str.h
parent637ff35ef6a545c1e6caf4c6675bf2e1ee33da99 (diff)
o_str.c: Windows doesn't have <strings.h>, and since we use _strnicmp() and
_stricmp() on that platform, use the appropriate header file for it, <string.h>. o_str.h: we only want to get size_t, which is defined in <stddef.h>. Philippe Bougeret <philippe.bougeret@freesbee.fr> notified us about Windows not having a <strings.h>
Diffstat (limited to 'crypto/o_str.h')
-rw-r--r--crypto/o_str.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/o_str.h b/crypto/o_str.h
index 744a6e27d3..4a70a9e00b 100644
--- a/crypto/o_str.h
+++ b/crypto/o_str.h
@@ -59,7 +59,7 @@
#ifndef HEADER_O_STR_H
#define HEADER_O_STR_H
-#include <string.h>
+#include <stddef.h> /* to get size_t */
int OPENSSL_strcasecmp(const char *str1, const char *str2);
int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n);