Преглед изворни кода

Work around libintl's vprintf macro messing with OutputFile::vprintf

David Macek пре 11 година
родитељ
комит
784d0e5e51
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/OutputFile.h

+ 3 - 0
src/OutputFile.h

@@ -40,6 +40,9 @@
 #include <cstdlib>
 #include <cstdarg>
 
+// include <string> just to cancel libintl's #define vprintf libintl_vprintf
+#include <string>
+
 namespace aria2 {
 
 class OutputFile {