[GRASS-SVN] r53542 - in grass/branches/develbranch_6: display/d.thematic.area display/d.vect display/d.vect.chart general/g.region lib/vector/Vlib lib/vector/vedit raster/r.proj.seg raster/r.to.vect vector/lidar/lidarlib vector/v.buffer2 vector/v.edit vector/v.generalize vector/v.kernel vector/v.lrs/v.lrs.create vector/v.out.ascii vector/v.out.vtk vector/v.parallel2 vector/v.reclass vector/v.select vector/v.to.3d vector/v.to.db vector/v.to.rast vector/v.voronoi

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 24 03:41:59 PDT 2012


Author: martinl
Date: 2012-10-24 03:41:58 -0700 (Wed, 24 Oct 2012)
New Revision: 53542

Modified:
   grass/branches/develbranch_6/display/d.thematic.area/plot1.c
   grass/branches/develbranch_6/display/d.vect.chart/pie.c
   grass/branches/develbranch_6/display/d.vect/plot1.c
   grass/branches/develbranch_6/general/g.region/main.c
   grass/branches/develbranch_6/lib/vector/Vlib/remove_areas.c
   grass/branches/develbranch_6/lib/vector/Vlib/snap.c
   grass/branches/develbranch_6/lib/vector/vedit/select.c
   grass/branches/develbranch_6/raster/r.proj.seg/readcell.c
   grass/branches/develbranch_6/raster/r.to.vect/main.c
   grass/branches/develbranch_6/vector/lidar/lidarlib/zones.c
   grass/branches/develbranch_6/vector/v.buffer2/main.c
   grass/branches/develbranch_6/vector/v.edit/main.c
   grass/branches/develbranch_6/vector/v.edit/select.c
   grass/branches/develbranch_6/vector/v.generalize/displacement.c
   grass/branches/develbranch_6/vector/v.generalize/main.c
   grass/branches/develbranch_6/vector/v.generalize/matrix.c
   grass/branches/develbranch_6/vector/v.generalize/misc.c
   grass/branches/develbranch_6/vector/v.generalize/network.c
   grass/branches/develbranch_6/vector/v.generalize/point.c
   grass/branches/develbranch_6/vector/v.generalize/smoothing.c
   grass/branches/develbranch_6/vector/v.kernel/main.c
   grass/branches/develbranch_6/vector/v.lrs/v.lrs.create/main.c
   grass/branches/develbranch_6/vector/v.out.ascii/b2a.c
   grass/branches/develbranch_6/vector/v.out.vtk/writeVTK.c
   grass/branches/develbranch_6/vector/v.parallel2/main.c
   grass/branches/develbranch_6/vector/v.reclass/main.c
   grass/branches/develbranch_6/vector/v.select/overlap.c
   grass/branches/develbranch_6/vector/v.to.3d/trans3.c
   grass/branches/develbranch_6/vector/v.to.db/lines.c
   grass/branches/develbranch_6/vector/v.to.rast/main.c
   grass/branches/develbranch_6/vector/v.voronoi/dt_write.c
Log:
add missing header (when compiling without GDAL support)
    (merge from r53541 from relbr64)


Modified: grass/branches/develbranch_6/display/d.thematic.area/plot1.c
===================================================================
--- grass/branches/develbranch_6/display/d.thematic.area/plot1.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/display/d.thematic.area/plot1.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -1,16 +1,19 @@
 /* plot1() - Level One vector reading */
 
 #include <string.h>
+#include <math.h>
+
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/display.h>
 #include <grass/raster.h>
-#include "plot.h"
-#include "local_proto.h"
 #include <grass/symbol.h>
 #include <grass/glocale.h>
 #include <grass/dbmi.h>
 
+#include "plot.h"
+#include "local_proto.h"
+
 #define RENDER_POLYLINE 0
 #define RENDER_POLYGON  1
 

Modified: grass/branches/develbranch_6/display/d.vect/plot1.c
===================================================================
--- grass/branches/develbranch_6/display/d.vect/plot1.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/display/d.vect/plot1.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -1,16 +1,19 @@
 /* plot1() - Level One vector reading */
 
+#include <math.h>
 #include <string.h>
+
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/display.h>
 #include <grass/raster.h>
-#include "plot.h"
-#include "local_proto.h"
 #include <grass/symbol.h>
 #include <grass/glocale.h>
 #include <grass/dbmi.h>
 
+#include "plot.h"
+#include "local_proto.h"
+
 #define RENDER_POLYLINE 0
 #define RENDER_POLYGON  1
 

Modified: grass/branches/develbranch_6/display/d.vect.chart/pie.c
===================================================================
--- grass/branches/develbranch_6/display/d.vect.chart/pie.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/display/d.vect.chart/pie.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -1,3 +1,5 @@
+#include <math.h>
+
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>

Modified: grass/branches/develbranch_6/general/g.region/main.c
===================================================================
--- grass/branches/develbranch_6/general/g.region/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/general/g.region/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -13,8 +13,10 @@
  *   	    	Read the file COPYING that comes with GRASS for details.
  ****************************************************************************/
 
+#include <math.h>
 #include <string.h>
 #include <stdlib.h>
+
 #include <grass/gis.h>
 #include <grass/G3d.h>
 #include <grass/Vect.h>

Modified: grass/branches/develbranch_6/lib/vector/Vlib/remove_areas.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/remove_areas.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/lib/vector/Vlib/remove_areas.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -17,6 +17,8 @@
    \date 2001
  */
 
+#include <stdlib.h>
+
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>

Modified: grass/branches/develbranch_6/lib/vector/Vlib/snap.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/snap.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/lib/vector/Vlib/snap.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -18,6 +18,8 @@
  */
 
 #include <math.h>
+#include <stdlib.h>
+
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>

Modified: grass/branches/develbranch_6/lib/vector/vedit/select.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/vedit/select.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/lib/vector/vedit/select.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -11,6 +11,8 @@
   \author Martin Landa <landa.martin gmail.com>
 */
 
+#include <math.h>
+
 #include <grass/glocale.h>
 #include <grass/vedit.h>
 

Modified: grass/branches/develbranch_6/raster/r.proj.seg/readcell.c
===================================================================
--- grass/branches/develbranch_6/raster/r.proj.seg/readcell.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/raster/r.proj.seg/readcell.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -5,6 +5,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>

Modified: grass/branches/develbranch_6/raster/r.to.vect/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.to.vect/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/raster/r.to.vect/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -20,6 +20,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <grass/gis.h>
 #include <grass/dbmi.h>
 #include <grass/Vect.h>

Modified: grass/branches/develbranch_6/vector/lidar/lidarlib/zones.c
===================================================================
--- grass/branches/develbranch_6/vector/lidar/lidarlib/zones.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/lidar/lidarlib/zones.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <math.h>
 
 #include <grass/gis.h>
 #include <grass/Vect.h>

Modified: grass/branches/develbranch_6/vector/v.buffer2/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.buffer2/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.buffer2/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -18,6 +18,7 @@
  **************************************************************/
 #include <stdlib.h>
 #include <string.h>
+#include <math.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>

Modified: grass/branches/develbranch_6/vector/v.edit/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.edit/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.edit/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -17,6 +17,7 @@
  * TODO:       3D support
  ****************************************************************/
 
+#include <string.h>
 #include <grass/dbmi.h>
 #include "global.h"
 

Modified: grass/branches/develbranch_6/vector/v.edit/select.c
===================================================================
--- grass/branches/develbranch_6/vector/v.edit/select.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.edit/select.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -18,6 +18,7 @@
  * TODO:       3D support
  ****************************************************************/
 
+#include <string.h>
 #include <grass/dbmi.h>
 #include "global.h"
 

Modified: grass/branches/develbranch_6/vector/v.generalize/displacement.c
===================================================================
--- grass/branches/develbranch_6/vector/v.generalize/displacement.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.generalize/displacement.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <math.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>

Modified: grass/branches/develbranch_6/vector/v.generalize/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.generalize/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.generalize/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>

Modified: grass/branches/develbranch_6/vector/v.generalize/matrix.c
===================================================================
--- grass/branches/develbranch_6/vector/v.generalize/matrix.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.generalize/matrix.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -17,6 +17,7 @@
  *
  ****************************************************************/
 
+#include <string.h>
 #include <grass/gis.h>
 #include <grass/glocale.h>
 #include "matrix.h"

Modified: grass/branches/develbranch_6/vector/v.generalize/misc.c
===================================================================
--- grass/branches/develbranch_6/vector/v.generalize/misc.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.generalize/misc.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -17,6 +17,8 @@
  *
  ****************************************************************/
 
+#include <math.h>
+#include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>

Modified: grass/branches/develbranch_6/vector/v.generalize/network.c
===================================================================
--- grass/branches/develbranch_6/vector/v.generalize/network.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.generalize/network.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>

Modified: grass/branches/develbranch_6/vector/v.generalize/point.c
===================================================================
--- grass/branches/develbranch_6/vector/v.generalize/point.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.generalize/point.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -119,7 +119,6 @@
 
     if (!pl) {
 	G_fatal_error(_("Out of memory"));
-	exit(1);
     }
 
     pl->next = NULL;

Modified: grass/branches/develbranch_6/vector/v.generalize/smoothing.c
===================================================================
--- grass/branches/develbranch_6/vector/v.generalize/smoothing.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.generalize/smoothing.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <math.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>

Modified: grass/branches/develbranch_6/vector/v.kernel/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.kernel/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.kernel/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <float.h>
 #include <grass/gis.h>
 #include <grass/glocale.h>

Modified: grass/branches/develbranch_6/vector/v.lrs/v.lrs.create/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.lrs/v.lrs.create/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.lrs/v.lrs.create/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
+#include <math.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>

Modified: grass/branches/develbranch_6/vector/v.out.ascii/b2a.c
===================================================================
--- grass/branches/develbranch_6/vector/v.out.ascii/b2a.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.out.ascii/b2a.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/gis.h>
 #include <grass/dbmi.h>

Modified: grass/branches/develbranch_6/vector/v.out.vtk/writeVTK.c
===================================================================
--- grass/branches/develbranch_6/vector/v.out.vtk/writeVTK.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.out.vtk/writeVTK.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -15,6 +15,7 @@
  ****************************************************************************/
 
 #include <stdlib.h>
+#include <string.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>
 #include <grass/gis.h>

Modified: grass/branches/develbranch_6/vector/v.parallel2/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.parallel2/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.parallel2/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -17,6 +17,7 @@
  *
  **************************************************************/
 #include <stdlib.h>
+#include <string.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>

Modified: grass/branches/develbranch_6/vector/v.reclass/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.reclass/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.reclass/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -16,6 +16,7 @@
  *****************************************************************************/
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>

Modified: grass/branches/develbranch_6/vector/v.select/overlap.c
===================================================================
--- grass/branches/develbranch_6/vector/v.select/overlap.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.select/overlap.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -1,3 +1,5 @@
+#include <math.h>
+#include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/dbmi.h>
 #include <grass/Vect.h>

Modified: grass/branches/develbranch_6/vector/v.to.3d/trans3.c
===================================================================
--- grass/branches/develbranch_6/vector/v.to.3d/trans3.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.to.3d/trans3.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>

Modified: grass/branches/develbranch_6/vector/v.to.db/lines.c
===================================================================
--- grass/branches/develbranch_6/vector/v.to.db/lines.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.to.db/lines.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -1,3 +1,4 @@
+#include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <grass/glocale.h>

Modified: grass/branches/develbranch_6/vector/v.to.rast/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.to.rast/main.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.to.rast/main.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <grass/gis.h>
 #include <grass/dbmi.h>
 #include <grass/Vect.h>

Modified: grass/branches/develbranch_6/vector/v.voronoi/dt_write.c
===================================================================
--- grass/branches/develbranch_6/vector/v.voronoi/dt_write.c	2012-10-24 10:37:32 UTC (rev 53541)
+++ grass/branches/develbranch_6/vector/v.voronoi/dt_write.c	2012-10-24 10:41:58 UTC (rev 53542)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <math.h>
 #include <float.h>
+#include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/display.h>



More information about the grass-commit mailing list