Added the missing #include <cstdio>.
This commit is contained in:
parent
ab5b2f27ef
commit
acdcfd51b6
2 changed files with 14 additions and 0 deletions
|
@ -45,5 +45,8 @@ cd ${tmpdir}
|
||||||
if [ ! -d $product ]; then
|
if [ ! -d $product ]; then
|
||||||
tar xfj ${tar}
|
tar xfj ${tar}
|
||||||
cd $product
|
cd $product
|
||||||
|
|
||||||
|
# patch submitted by email to libodbcxx-devel@lists.sourceforge.net.
|
||||||
|
patch -p1 < $etcdir/libodbc++-add-cstdio-include.patch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
diff -Naur libodbc++-0.2.5/include/odbc++/types.h libodbc++-0.2.5-cstdio/include/odbc++/types.h
|
||||||
|
--- libodbc++-0.2.5/include/odbc++/types.h 2009-03-05 14:23:21.000000000 +0100
|
||||||
|
+++ libodbc++-0.2.5-cstdio/include/odbc++/types.h 2010-01-02 19:22:54.650900117 +0100
|
||||||
|
@@ -25,6 +25,7 @@
|
||||||
|
#include <odbc++/setup.h>
|
||||||
|
|
||||||
|
#include <cstring>
|
||||||
|
+#include <cstdio>
|
||||||
|
#include <exception>
|
||||||
|
#include <assert.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue