summaryrefslogtreecommitdiff
path: root/src/rc_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc_string.cpp')
-rw-r--r--src/rc_string.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc_string.cpp b/src/rc_string.cpp
index 38f6b15d..260ba90a 100644
--- a/src/rc_string.cpp
+++ b/src/rc_string.cpp
@@ -9,6 +9,7 @@
#include <cstring>
#include <string>
#include <iostream>
+#include <algorithm> // std::max
RcString::RcString(const char* s, unsigned int len):
m_ptr(nullptr)