[GRASS-SVN] r45656 - in grass/trunk: general/g.region lib/lidar
lib/vector/Vlib vector/v.buffer vector/v.build
vector/v.generalize vector/v.hull vector/v.info
vector/v.kernel vector/v.net vector/v.parallel
vector/v.select vector/v.split vector/v.to.3d vector/v.to.db
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 13 12:28:53 EDT 2011
Author: martinl
Date: 2011-03-13 09:28:53 -0700 (Sun, 13 Mar 2011)
New Revision: 45656
Modified:
grass/trunk/general/g.region/main.c
grass/trunk/lib/lidar/zones.c
grass/trunk/lib/vector/Vlib/ascii.c
grass/trunk/lib/vector/Vlib/find.c
grass/trunk/lib/vector/Vlib/geos.c
grass/trunk/vector/v.buffer/main.c
grass/trunk/vector/v.build/main.c
grass/trunk/vector/v.generalize/misc.c
grass/trunk/vector/v.hull/hull.c
grass/trunk/vector/v.info/main.c
grass/trunk/vector/v.info/parse.c
grass/trunk/vector/v.kernel/main.c
grass/trunk/vector/v.net/args.c
grass/trunk/vector/v.parallel/main.c
grass/trunk/vector/v.select/overlap.c
grass/trunk/vector/v.split/main.c
grass/trunk/vector/v.to.3d/trans3.c
grass/trunk/vector/v.to.db/lines.c
Log:
add mising headers (compiling without gdal/ogr)
Modified: grass/trunk/general/g.region/main.c
===================================================================
--- grass/trunk/general/g.region/main.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/general/g.region/main.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -15,6 +15,7 @@
#include <string.h>
#include <stdlib.h>
+#include <math.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/G3d.h>
Modified: grass/trunk/lib/lidar/zones.c
===================================================================
--- grass/trunk/lib/lidar/zones.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/lib/lidar/zones.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -2,6 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <math.h>
#include <grass/lidar.h>
/*----------------------------------------------------------------------------------------*/
Modified: grass/trunk/lib/vector/Vlib/ascii.c
===================================================================
--- grass/trunk/lib/vector/Vlib/ascii.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/lib/vector/Vlib/ascii.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -13,6 +13,7 @@
\author Original author CERL
\author Updated for GRASS 7 (SF support) by Martin Landa <landa.martin gmail.com>
*/
+#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Modified: grass/trunk/lib/vector/Vlib/find.c
===================================================================
--- grass/trunk/lib/vector/Vlib/find.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/lib/vector/Vlib/find.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -14,7 +14,7 @@
* Higgins.
* \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
-
+#include <stdlib.h>
#include <math.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/Vlib/geos.c
===================================================================
--- grass/trunk/lib/vector/Vlib/geos.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/lib/vector/Vlib/geos.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -13,6 +13,7 @@
\author Martin Landa <landa.martin gmail.com>
*/
+#include <stdlib.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/vector/v.buffer/main.c
===================================================================
--- grass/trunk/vector/v.buffer/main.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.buffer/main.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -18,6 +18,7 @@
**************************************************************/
#include <stdlib.h>
#include <string.h>
+#include <math.h>
#include <grass/gis.h>
#include <grass/vector.h>
Modified: grass/trunk/vector/v.build/main.c
===================================================================
--- grass/trunk/vector/v.build/main.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.build/main.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -17,6 +17,7 @@
**************************************************************/
#include <stdlib.h>
+#include <string.h>
#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/vector/v.generalize/misc.c
===================================================================
--- grass/trunk/vector/v.generalize/misc.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.generalize/misc.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -17,6 +17,7 @@
*
****************************************************************/
+#include <stdlib.h>
#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/dbmi.h>
Modified: grass/trunk/vector/v.hull/hull.c
===================================================================
--- grass/trunk/vector/v.hull/hull.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.hull/hull.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include <grass/glocale.h>
#include "hull.h"
Modified: grass/trunk/vector/v.info/main.c
===================================================================
--- grass/trunk/vector/v.info/main.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.info/main.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -15,7 +15,7 @@
* comes with GRASS for details.
*
**************************************************************/
-
+#include <stdlib.h>
#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/vector/v.info/parse.c
===================================================================
--- grass/trunk/vector/v.info/parse.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.info/parse.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Modified: grass/trunk/vector/v.kernel/main.c
===================================================================
--- grass/trunk/vector/v.kernel/main.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.kernel/main.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <float.h>
+#include <string.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/glocale.h>
Modified: grass/trunk/vector/v.net/args.c
===================================================================
--- grass/trunk/vector/v.net/args.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.net/args.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/vector/v.parallel/main.c
===================================================================
--- grass/trunk/vector/v.parallel/main.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.parallel/main.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include <math.h>
+#include <string.h>
#include <grass/gis.h>
#include <grass/vector.h>
Modified: grass/trunk/vector/v.select/overlap.c
===================================================================
--- grass/trunk/vector/v.select/overlap.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.select/overlap.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include <grass/gis.h>
#include <grass/dbmi.h>
#include <grass/vector.h>
Modified: grass/trunk/vector/v.split/main.c
===================================================================
--- grass/trunk/vector/v.split/main.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.split/main.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include <math.h>
+#include <string.h>
#include <grass/gis.h>
#include <grass/vector.h>
Modified: grass/trunk/vector/v.to.3d/trans3.c
===================================================================
--- grass/trunk/vector/v.to.3d/trans3.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.to.3d/trans3.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/dbmi.h>
Modified: grass/trunk/vector/v.to.db/lines.c
===================================================================
--- grass/trunk/vector/v.to.db/lines.c 2011-03-13 12:20:51 UTC (rev 45655)
+++ grass/trunk/vector/v.to.db/lines.c 2011-03-13 16:28:53 UTC (rev 45656)
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <math.h>
#include <grass/glocale.h>
#include "global.h"
More information about the grass-commit
mailing list