https://issues.shibboleth.net/jira/browse/CPPXT-28
[shibboleth/cpp-xmltooling.git] / xmltooling / base.h
index 77754ff..0ffb39c 100644 (file)
@@ -26,6 +26,9 @@
 \r
 #include <typeinfo>\r
 \r
+/* Required for sprintf, used by integer XML attribute macros. */\r
+#include <cstdio>\r
+\r
 #if defined (_MSC_VER) || defined(__BORLANDC__)\r
   #include <xmltooling/config_pub_win32.h>\r
 #else\r