--- svtools/source/svrtf/parrtf.cxx.orig	2015-08-22 06:41:35 UTC
+++ svtools/source/svrtf/parrtf.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <cstdio>
 
 #include <rtl/tencinfo.h>
 #include <tools/stream.hxx>
