author | Michael Krelin <hacker@klever.net> | 2008-06-27 18:32:31 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2008-06-27 18:32:31 (UTC) |
commit | a344edbdddeac51524001faa10d06f85cfdb041c (patch) (side-by-side diff) | |
tree | bca2afabf4fdc53324fc48e101fc9de068404e47 | |
parent | 9737a1eb0f01cdc805c4a28f0a86734eb3bb4d31 (diff) | |
download | libopkele-a344edbdddeac51524001faa10d06f85cfdb041c.zip libopkele-a344edbdddeac51524001faa10d06f85cfdb041c.tar.gz libopkele-a344edbdddeac51524001faa10d06f85cfdb041c.tar.bz2 |
Fix for gcc 4.3
Thanks to Oden Eriksson of Mandriva for report and patch
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | lib/fields.cc | 2 | ||||
-rw-r--r-- | lib/message.cc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/fields.cc b/lib/fields.cc index d494098..91fbc41 100644 --- a/lib/fields.cc +++ b/lib/fields.cc @@ -2,6 +2,8 @@ #include <opkele/exception.h> #include <opkele/util.h> +#include <algorithm> namespace opkele { + using std::for_each; using std::unary_function; diff --git a/lib/message.cc b/lib/message.cc index b2324b7..524946a 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -1,3 +1,5 @@ #include <cassert> +#include <algorithm> + #include <opkele/types.h> #include <opkele/exception.h> |