projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa8e921
)
Missing headers.
author
Ben Laurie
<ben@openssl.org>
Sat, 12 Jan 2008 11:22:31 +0000
(11:22 +0000)
committer
Ben Laurie
<ben@openssl.org>
Sat, 12 Jan 2008 11:22:31 +0000
(11:22 +0000)
apps/apps.c
patch
|
blob
|
history
crypto/o_str.c
patch
|
blob
|
history
diff --git
a/apps/apps.c
b/apps/apps.c
index f97169a9ce637d9e899b467b173d706b9d478c76..f45093328e873e0e6f6743a6ce59e06b9827c67d 100644
(file)
--- a/
apps/apps.c
+++ b/
apps/apps.c
@@
-116,6
+116,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
diff --git
a/crypto/o_str.c
b/crypto/o_str.c
index 2db099333a7fd0781463f44b0023db619d0ffee0..2b4d0dcd5e37bb0e1c7fc2ace40d09e2f682e20d 100644
(file)
--- 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)