From fc4892ab6cc4e61ced26ab3789bb3b69bab11e76 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 23 Oct 2008 20:07:06 +0000 Subject: Added missing header and print newline at end of usage instructions (cherry picked from commit afa57ceea0df1ce1ca494d7794e2f6542befc214) --- tools/tmxcopy/main.cpp | 2 +- tools/tmxcopy/map.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/tmxcopy/main.cpp b/tools/tmxcopy/main.cpp index 92a69c54..f50c0af4 100644 --- a/tools/tmxcopy/main.cpp +++ b/tools/tmxcopy/main.cpp @@ -28,7 +28,7 @@ int main(int argc, char * argv[] ) // parsing command line options if (argc < 9 || argc > 10) { - std::cerr<<"Usage: srcFile x y width height tgtFile x y [outfile]"; + std::cerr<<"Usage: srcFile x y width height tgtFile x y [outfile]\n"; return -1; } diff --git a/tools/tmxcopy/map.cpp b/tools/tmxcopy/map.cpp index b554aac2..82fe0f8f 100644 --- a/tools/tmxcopy/map.cpp +++ b/tools/tmxcopy/map.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include "xmlutils.h" -- cgit v1.2.3-70-g09d2