localize: include <cstdio> in files that uses the printf family of

functions to make the code build on gcc-4.4

gcc-4.4 further cleaned up header include dependencies so that e.x.
including <iostream> no longer pulls in printf.
This commit is contained in:
Scott Tsai
2009-03-21 08:08:36 +08:00
parent bfc9f4f830
commit 8a2b9083e3
8 changed files with 8 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/wait.h>
#include <cstdio>
using namespace std;

View File

@@ -2,6 +2,7 @@
#include <stdarg.h>
#include <set>
#include <cstdio>
using namespace std;

View File

@@ -1,5 +1,6 @@
#include "Values.h"
#include <stdlib.h>
#include <cstdio>
// =====================================================================================

View File

@@ -3,6 +3,7 @@
#include <algorithm>
#include <sys/time.h>
#include <time.h>
#include <cstdio>
const char* const XLIFF_XMLNS = "urn:oasis:names:tc:xliff:document:1.2";

View File

@@ -8,6 +8,7 @@
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <cstdio>
#include <host/Directories.h>
#include "log.h"

View File

@@ -4,6 +4,7 @@
#include "ValuesFile.h"
#include "Configuration.h"
#include <string>
#include <cstdio>
using namespace std;

View File

@@ -1,3 +1,4 @@
#include <cstdio>
#include "XLIFFFile.h"
#include "ValuesFile.h"
#include "localize.h"

View File

@@ -1,3 +1,4 @@
#include <cstdio>
#include "merge_res_and_xliff.h"