Author: mysqlpp Date: Thu Jun 11 02:26:23 2009 New Revision: 2523 URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2523&view=rev Log: Added a few #includes to placate GCC 4.4.
Patch by Adrian Cornish <[email protected]> Modified: trunk/lib/dbdriver.cpp trunk/test/insertpolicy.cpp Modified: trunk/lib/dbdriver.cpp URL: http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/dbdriver.cpp?rev=2523&r1=2522&r2=2523&view=diff ============================================================================== --- trunk/lib/dbdriver.cpp (original) +++ trunk/lib/dbdriver.cpp Thu Jun 11 02:26:23 2009 @@ -1,7 +1,7 @@ /*********************************************************************** dbdriver.cpp - Implements the DBDriver class. - Copyright (c) 2005-2007 by Educational Technology Resources, Inc. + Copyright (c) 2005-2009 by Educational Technology Resources, Inc. Others may also hold copyrights on code in this file. See the CREDITS.txt file in the top directory of the distribution for details. @@ -28,8 +28,9 @@ #include "exceptions.h" +#include <cstring> +#include <memory> #include <sstream> -#include <memory> // An argument was added to mysql_shutdown() in MySQL 4.1.3 and 5.0.1. #if ((MYSQL_VERSION_ID >= 40103) && (MYSQL_VERSION_ID <= 49999)) || (MYSQL_VERSION_ID >= 50001) Modified: trunk/test/insertpolicy.cpp URL: http://svn.gna.org/viewcvs/mysqlpp/trunk/test/insertpolicy.cpp?rev=2523&r1=2522&r2=2523&view=diff ============================================================================== --- trunk/test/insertpolicy.cpp (original) +++ trunk/test/insertpolicy.cpp Thu Jun 11 02:26:23 2009 @@ -26,6 +26,7 @@ #include <mysql++.h> +#include <climits> #include <iostream> static const unsigned char nonzero = 4; _______________________________________________ Mysqlpp-commits mailing list [email protected] https://mail.gna.org/listinfo/mysqlpp-commits
