Repository: thrift Updated Branches: refs/heads/master 2f03618a6 -> 3f07967a7
THRIFT-4248: Import cstring in TSSLSocket Client: C++ strncpy, memcmp, memset are used in TSSLSocket so cstring needs to be imported. This closes #1307 Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/3f07967a Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/3f07967a Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/3f07967a Branch: refs/heads/master Commit: 3f07967a791a0c15c36e832ebf183169f08067ce Parents: 2f03618 Author: Josip Sokcevic <i...@sokac.net> Authored: Sat Jul 8 16:34:49 2017 -0700 Committer: James E. King, III <jk...@apache.org> Committed: Thu Aug 10 23:12:51 2017 -0400 ---------------------------------------------------------------------- lib/cpp/src/thrift/transport/TSSLSocket.cpp | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/3f07967a/lib/cpp/src/thrift/transport/TSSLSocket.cpp ---------------------------------------------------------------------- diff --git a/lib/cpp/src/thrift/transport/TSSLSocket.cpp b/lib/cpp/src/thrift/transport/TSSLSocket.cpp index d8b16e1..acf23aa 100644 --- a/lib/cpp/src/thrift/transport/TSSLSocket.cpp +++ b/lib/cpp/src/thrift/transport/TSSLSocket.cpp @@ -21,6 +21,7 @@ #include <errno.h> #include <string> +#include <cstring> #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif