From: Mikko Rasa Date: Sun, 8 Jun 2008 15:59:26 +0000 (+0000) Subject: Add missing includes X-Git-Tag: fs-1.0~7 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=35fb95f1ece11ba5186c267ae2c22e2f89962455;p=libs%2Fcore.git Add missing includes Fix a gcc 4.3 style warning --- 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)