# # # patch "lua.cc" # from [860c0ee46dab5823bf02798060110da38228c6e5] # to [94164f93ac24a267514cf86d0e9f9eeb0fb17dd6] # ============================================================ --- lua.cc 860c0ee46dab5823bf02798060110da38228c6e5 +++ lua.cc 94164f93ac24a267514cf86d0e9f9eeb0fb17dd6 @@ -15,6 +15,11 @@ using std::set; using std::pair; using std::set; +#ifdef WIN32 +// with visual studio you need to include algorithm. +// Not sure if this applies to other platforms so ifdef it for now. +#include +#endif using std::sort; using std::string; using std::vector;