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:
14def5f
)
Fix for memcpy() and strcmp() being undefined.
author
Bjoern D. Rasmussen
<contact@bearware.dk>
Sun, 10 May 2015 05:51:29 +0000
(07:51 +0200)
committer
Matt Caswell
<matt@openssl.org>
Mon, 11 May 2015 11:01:51 +0000
(12:01 +0100)
clang says: "s_cb.c:958:9: error: implicitly declaring library function
'memcpy'"
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/s_cb.c
patch
|
blob
|
history
diff --git
a/apps/s_cb.c
b/apps/s_cb.c
index 442b33556817e789e4fe9b0d9d7f5771217b3afb..4979edfe65e03273862b9de9a67a9aaf67e8cda2 100644
(file)
--- a/
apps/s_cb.c
+++ b/
apps/s_cb.c
@@
-112,6
+112,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
+#include <string.h> /* for memcpy() and strcmp() */
#define USE_SOCKETS
#include "apps.h"
#undef USE_SOCKETS