Преглед на файлове

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

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday преди 6 години
родител
ревизия
d25762265f
променени са 2 файла, в които са добавени 4 реда и са изтрити 0 реда
  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"