summaryrefslogtreecommitdiffstats
path: root/apps/s_cb.c
diff options
context:
space:
mode:
authorBjoern D. Rasmussen <contact@bearware.dk>2015-05-10 07:51:29 +0200
committerMatt Caswell <matt@openssl.org>2015-05-11 12:01:51 +0100
commit8f744cceff5bce8cb00a6ddd739c1bbb85c142ea (patch)
treeff036da037cd98f6fb7959574057172d42c74e7e /apps/s_cb.c
parent14def5f5375594830597cc153e11c6017f6adddf (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>
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r--apps/s_cb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c
index 442b335568..4979edfe65 100644
--- 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