File: 0005-Add-missing-include.patch

package info (click to toggle)
actor-framework 0.17.6-3.2
  • links: PTS
  • area: main
  • in suites: forky
  • size: 9,008 kB
  • sloc: cpp: 77,684; sh: 674; python: 309; makefile: 13
file content (20 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Dominik Charousset <dominik.charousset@corelight.com>
Date: Fri, 6 Nov 2020 11:08:48 +0100
Subject: Add missing include

---
 libcaf_io/caf/io/network/receive_buffer.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libcaf_io/caf/io/network/receive_buffer.hpp b/libcaf_io/caf/io/network/receive_buffer.hpp
index ba91f5b..0198bb5 100644
--- a/libcaf_io/caf/io/network/receive_buffer.hpp
+++ b/libcaf_io/caf/io/network/receive_buffer.hpp
@@ -20,6 +20,7 @@
 
 #include <cstddef>
 #include <cstring>
+#include <limits>
 #include <memory>
 
 #include "caf/allowed_unsafe_message_type.hpp"