diff options
author | ZuBsPaCe <kurt.rudin@gmx.net> | 2015-11-19 11:07:46 +0100 |
---|---|---|
committer | ZuBsPaCe <kurt.rudin@gmx.net> | 2015-11-19 11:07:46 +0100 |
commit | 2b36da0f79dd4b279a28fe2ff850fb4664e1a79f (patch) | |
tree | b84a35ab3a1a7dfa9874d8cc1d42f50174283e40 | |
parent | 36d620c633be55ac402892bce816d4a9b4d67bee (diff) |
Fixes Visual Studio compile error due to pe_bliss
Error: C2039: 'min': is not a member of 'std'
Reason: #2518 introduced pe_bliss
Fix: Visual Studio 2015 & 2013 need to include algorithm header before string, otherwise std:min cannot be used.
See: http://stackoverflow.com/questions/17409956
-rw-r--r-- | tools/pe_bliss/pe_section.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pe_bliss/pe_section.cpp b/tools/pe_bliss/pe_section.cpp index 7aed5e2c26..72127e22e2 100644 --- a/tools/pe_bliss/pe_section.cpp +++ b/tools/pe_bliss/pe_section.cpp @@ -19,6 +19,7 @@ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ +#include <algorithm> #include <string.h> #include "utils.h" #include "pe_section.h" |