FIPS branch into this. It's needed at least for certain OpenVMS
versions, and should really be used in a more general way.
int WIN32_rename(char *oldname,char *newname);
#endif
-/* VMS below version 7.0 doesn't have strcasecmp() */
-#ifdef OPENSSL_SYS_VMS
-#define strcasecmp(str1,str2) VMS_strcasecmp((str1),(str2))
-int VMS_strcasecmp(const char *str1, const char *str2);
-#endif
-
#ifndef MONOLITH
#define MAIN(a,v) main(a,v)
*
*/
-#include <ctype.h>
-#include <strings.h>
-#include "o_str.h"
+#include <o_str.h>
#include <openssl/e_os2.h>
+#undef strncasecmp
+#undef strcasecmp
+
int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n)
{
#if defined(OPENSSL_SYS_VMS)