aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-06-24 22:00:20 +0000
committerJohannes Schickel2010-06-24 22:00:20 +0000
commit968e10795ffdf2e17a7ca678ca5e303b0d265795 (patch)
tree3b638d6d3bd085e05c4089bbdb3f67c9cbc9df60
parenta5fb4fec2e71f252d5f7aa2b8d09165ce46fa3fa (diff)
downloadscummvm-rg350-968e10795ffdf2e17a7ca678ca5e303b0d265795.tar.gz
scummvm-rg350-968e10795ffdf2e17a7ca678ca5e303b0d265795.tar.bz2
scummvm-rg350-968e10795ffdf2e17a7ca678ca5e303b0d265795.zip
Do not include any headers from common/messages.cpp, since that file might be included into an namespace.
svn-id: r50241
-rw-r--r--common/messages.cpp3
-rwxr-xr-xtools/po2c2
2 files changed, 0 insertions, 5 deletions
diff --git a/common/messages.cpp b/common/messages.cpp
index bd37656417..dde7f1504c 100644
--- a/common/messages.cpp
+++ b/common/messages.cpp
@@ -1,8 +1,5 @@
// generated by po2c 1.0.2-scummvm - Do not modify
-#include <stdio.h>
-#include <string.h>
-
static const char * const _po2c_msgids[] = {
/* 0 */ "",
/* 1 */ " Are you sure you want to quit ? ",
diff --git a/tools/po2c b/tools/po2c
index ae55b28bfa..dddd4541c0 100755
--- a/tools/po2c
+++ b/tools/po2c
@@ -109,8 +109,6 @@ for(my $n = 0;$n < scalar(@msgids);$n++)
# stage 3: dump as C++ code
print "// generated by po2c $VERSION - Do not modify\n\n";
-print "#include <stdio.h>\n";
-print "#include <string.h>\n\n";
# dump first the msgid array
print "static const char * const _po2c_msgids[] = {\n";