Explorar o código

HPCC-21958 Fix windows build issues due to missing #include

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday %!s(int64=6) %!d(string=hai) anos
pai
achega
d25762265f
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 2 0
      rtl/eclrtl/rtlnewkey.cpp
  2. 2 0
      rtl/eclrtl/rtlqstr.cpp

+ 2 - 0
rtl/eclrtl/rtlnewkey.cpp

@@ -14,6 +14,8 @@
 ############################################################################## */
 
 #include <initializer_list>
+#include <algorithm>
+
 #include "jlib.hpp"
 #include "jdebug.hpp"
 #include "jsort.hpp"

+ 2 - 0
rtl/eclrtl/rtlqstr.cpp

@@ -19,6 +19,8 @@
 #include "platform.h"
 #include <math.h>
 #include <stdio.h>
+#include <algorithm>
+
 #include "jexcept.hpp"
 #include "jmisc.hpp"
 #include "jutil.hpp"