diff options
author | Bjoern D. Rasmussen <contact@bearware.dk> | 2015-05-10 07:51:29 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-05-11 12:03:12 +0100 |
commit | 8a73e3a0e8ba5360c6e2e4296f0d1bb2ff201038 (patch) | |
tree | c6efdf648e72ab968b1f6db7f9f3558b147e91f1 /apps/s_cb.c | |
parent | edc2a76ade6ea8e22e4f092d33cd6171872a5f82 (diff) |
Fix for memcpy() and strcmp() being undefined.
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>
(cherry picked from commit 8f744cceff5bce8cb00a6ddd739c1bbb85c142ea)
Conflicts:
apps/s_cb.c
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r-- | apps/s_cb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c index ee57537083..dd3aa74e02 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -111,6 +111,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> /* for memcpy() and strcmp() */ #define USE_SOCKETS #define NON_MAIN #include "apps.h" |