From 8a73e3a0e8ba5360c6e2e4296f0d1bb2ff201038 Mon Sep 17 00:00:00 2001 From: "Bjoern D. Rasmussen" Date: Sun, 10 May 2015 07:51:29 +0200 Subject: [PATCH] Fix for memcpy() and strcmp() being undefined. clang says: "s_cb.c:958:9: error: implicitly declaring library function 'memcpy'" Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (cherry picked from commit 8f744cceff5bce8cb00a6ddd739c1bbb85c142ea) Conflicts: apps/s_cb.c --- apps/s_cb.c | 1 + 1 file changed, 1 insertion(+) 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 #include +#include /* for memcpy() and strcmp() */ #define USE_SOCKETS #define NON_MAIN #include "apps.h" -- 2.25.1