LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mysql-connector-cpp-1.1.0-gcc44.patch of Package mysql-connector-cpp (Project server:database)

Index: driver/mysql_resultbind.cpp
===================================================================
--- driver/mysql_resultbind.cpp.orig
+++ driver/mysql_resultbind.cpp
@@ -32,6 +32,7 @@
 #include "nativeapi/native_resultset_wrapper.h"
 
 #include <string.h>
+#include <stdio.h>
 
 namespace sql
 {
Index: test/unit/classes/resultsetmetadata.cpp
===================================================================
--- test/unit/classes/resultsetmetadata.cpp.orig
+++ test/unit/classes/resultsetmetadata.cpp
@@ -27,6 +27,7 @@
 #include "resultsetmetadata.h"
 #include <sstream>
 #include <stdlib.h>
+#include <stdio.h>
 #include <cppconn/resultset.h>
 #include <cppconn/datatype.h>
 #include <cppconn/prepared_statement.h>