You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by if...@apache.org on 2021/03/28 07:48:12 UTC

[rocketmq-client-cpp] 02/04: fix: missing limits header

This is an automated email from the ASF dual-hosted git repository.

ifplusor pushed a commit to branch re_dev
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-cpp.git

commit ad2478206a58bb996e98018d568446e1695bc873
Author: James Yin <yw...@hotmail.com>
AuthorDate: Sun Mar 28 13:38:27 2021 +0800

    fix: missing limits header
---
 src/transport/SocketUtil.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/transport/SocketUtil.cpp b/src/transport/SocketUtil.cpp
index f207263..230db1a 100644
--- a/src/transport/SocketUtil.cpp
+++ b/src/transport/SocketUtil.cpp
@@ -20,6 +20,7 @@
 #include <cstring>  // std::memcpy, std::memset
 
 #include <iostream>
+#include <limits>
 #include <stdexcept>  // std::invalid_argument, std::runtime_error
 #include <string>