Browse Source

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

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 6 năm trước cách đây
mục cha
commit
d25762265f
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  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"