You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2019/12/18 22:34:33 UTC
[mesos] 04/11: Added missing header guards for poll_socket.hpp.
This is an automated email from the ASF dual-hosted git repository.
josephwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 111f40a00cd8caa90e1a205116de5cf65719dce7
Author: Joseph Wu <jo...@apache.org>
AuthorDate: Wed Oct 23 12:21:19 2019 -0700
Added missing header guards for poll_socket.hpp.
Review: https://reviews.apache.org/r/71661
---
3rdparty/libprocess/src/poll_socket.hpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/3rdparty/libprocess/src/poll_socket.hpp b/3rdparty/libprocess/src/poll_socket.hpp
index 881dab1..c1c9974 100644
--- a/3rdparty/libprocess/src/poll_socket.hpp
+++ b/3rdparty/libprocess/src/poll_socket.hpp
@@ -10,6 +10,8 @@
// See the License for the specific language governing permissions and
// limitations under the License
+#ifndef __PROCESS_POLL_SOCKET__
+#define __PROCESS_POLL_SOCKET__
#include <memory>
#include <process/socket.hpp>
@@ -50,3 +52,5 @@ public:
} // namespace internal {
} // namespace network {
} // namespace process {
+
+#endif // __PROCESS_POLL_SOCKET__