Explorar o código

HPCC-17854 Add missing #include to rtlrecord.hpp

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

+ 6 - 0
rtl/eclrtl/rtlrecord.hpp

@@ -18,6 +18,12 @@
 #ifndef rtlrecord_hpp
 #define rtlrecord_hpp
 
+#if defined(_WIN32)
+#include <malloc.h>
+#else
+#include <alloca.h>
+#endif
+
 #include "rtlfield.hpp"
 
 //These classe provides a relatively efficient way to access fields within a variable length record structure.