summaryrefslogtreecommitdiff
path: root/tools/tmxcopy
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-23 20:07:06 +0000
committerSteve Cotton <steve@s.cotton.clara.co.uk>2009-03-09 22:55:32 +0000
commitc62de9aa47285c1145c5e24dae5638bfc47bbf52 (patch)
treee269b0b8b459d10de2636dec6eac433c669986c2 /tools/tmxcopy
parent4463387e133b0cd238ebb1ff89b8362fc2adbe75 (diff)
downloadmana-client-c62de9aa47285c1145c5e24dae5638bfc47bbf52.tar.gz
mana-client-c62de9aa47285c1145c5e24dae5638bfc47bbf52.tar.bz2
mana-client-c62de9aa47285c1145c5e24dae5638bfc47bbf52.tar.xz
mana-client-c62de9aa47285c1145c5e24dae5638bfc47bbf52.zip
Added missing header and print newline at end of usage instructions
Diffstat (limited to 'tools/tmxcopy')
-rw-r--r--tools/tmxcopy/main.cpp2
-rw-r--r--tools/tmxcopy/map.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/tmxcopy/main.cpp b/tools/tmxcopy/main.cpp
index ab67afe6..ac18ce04 100644
--- a/tools/tmxcopy/main.cpp
+++ b/tools/tmxcopy/main.cpp
@@ -27,7 +27,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 92e661fd..d9fc8ada 100644
--- a/tools/tmxcopy/map.cpp
+++ b/tools/tmxcopy/map.cpp
@@ -22,6 +22,7 @@
#include <map>
#include <list>
+#include <string.h>
#include <zlib.h>
#include "xmlutils.h"