Missing headers.
authorBen Laurie <ben@openssl.org>
Sat, 12 Jan 2008 11:22:31 +0000 (11:22 +0000)
committerBen Laurie <ben@openssl.org>
Sat, 12 Jan 2008 11:22:31 +0000 (11:22 +0000)
apps/apps.c
crypto/o_str.c

index f97169a9ce637d9e899b467b173d706b9d478c76..f45093328e873e0e6f6743a6ce59e06b9827c67d 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 #include <sys/types.h>
 #include <ctype.h>
 #include <errno.h>
index 2db099333a7fd0781463f44b0023db619d0ffee0..2b4d0dcd5e37bb0e1c7fc2ace40d09e2f682e20d 100644 (file)
 #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)