[GRASS-SVN] r31862 - grass/trunk/db/drivers/odbc

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jun 27 12:50:35 EDT 2008


Author: glynn
Date: 2008-06-27 12:50:35 -0400 (Fri, 27 Jun 2008)
New Revision: 31862

Modified:
   grass/trunk/db/drivers/odbc/odbc.h
Log:
On Windows, <sql.h> needs <windows.h>


Modified: grass/trunk/db/drivers/odbc/odbc.h
===================================================================
--- grass/trunk/db/drivers/odbc/odbc.h	2008-06-27 16:48:11 UTC (rev 31861)
+++ grass/trunk/db/drivers/odbc/odbc.h	2008-06-27 16:50:35 UTC (rev 31862)
@@ -1,6 +1,10 @@
 #ifndef _ODBC_H_
 #define	_ODBC_H_
 
+#ifdef __MINGW32__
+#include <windows.h>
+#endif
+
 /* configure checks for sql.h and stores in $(ODBCINC) */
 #include <sql.h>     
 #include <sqlext.h>  



More information about the grass-commit mailing list