[Patch] fix build problem rev 2742 (on Linux)
Posted: Sat Jan 24, 2009 5:11 pm
Updating to rev 2742 broke my build. Turned out a missing include.
In ./LiteEditor/addoptioncheckdlg.cpp (line 132), std::find could not be found.
To fix: include this line:
#include <algorithm>
Note that I made the patch with this command: svn diff -x --ignore-eol-style addoptioncheckdlg.cpp
due to line endings. It might be less work (for EOL fixing) to just include the include instead of applying this patch.
In ./LiteEditor/addoptioncheckdlg.cpp (line 132), std::find could not be found.
To fix: include this line:
#include <algorithm>
Note that I made the patch with this command: svn diff -x --ignore-eol-style addoptioncheckdlg.cpp
due to line endings. It might be less work (for EOL fixing) to just include the include instead of applying this patch.