From 35fb95f1ece11ba5186c267ae2c22e2f89962455 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 8 Jun 2008 15:59:26 +0000 Subject: [PATCH] Add missing includes Fix a gcc 4.3 style warning --- source/utils.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/utils.cpp b/source/utils.cpp index d9522a3..33981b2 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -6,7 +6,8 @@ Distributed under the LGPL */ #include -#include +#include +#include #include #ifndef WIN32 #include @@ -189,7 +190,7 @@ Path relative(const Path &path, const Path &base) { Path::Iterator i=path.begin(); Path::Iterator j=base.begin(); - for(; (i!=path.end() && j!=base.end() && *i==*j); ++i,++j); + for(; (i!=path.end() && j!=base.end() && *i==*j); ++i, ++j) ; Path result; for(; j!=base.end(); ++j) -- 2.43.0