[GRASS-SVN] r53541 - in grass/branches/releasebranch_6_4: 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:37:34 PDT 2012
Author: martinl
Date: 2012-10-24 03:37:32 -0700 (Wed, 24 Oct 2012)
New Revision: 53541
Modified:
grass/branches/releasebranch_6_4/display/d.thematic.area/plot1.c
grass/branches/releasebranch_6_4/display/d.vect.chart/pie.c
grass/branches/releasebranch_6_4/display/d.vect/plot1.c
grass/branches/releasebranch_6_4/general/g.region/main.c
grass/branches/releasebranch_6_4/lib/vector/Vlib/remove_areas.c
grass/branches/releasebranch_6_4/lib/vector/Vlib/snap.c
grass/branches/releasebranch_6_4/lib/vector/vedit/select.c
grass/branches/releasebranch_6_4/raster/r.proj.seg/readcell.c
grass/branches/releasebranch_6_4/raster/r.to.vect/main.c
grass/branches/releasebranch_6_4/vector/lidar/lidarlib/zones.c
grass/branches/releasebranch_6_4/vector/v.buffer2/main.c
grass/branches/releasebranch_6_4/vector/v.edit/main.c
grass/branches/releasebranch_6_4/vector/v.edit/select.c
grass/branches/releasebranch_6_4/vector/v.generalize/displacement.c
grass/branches/releasebranch_6_4/vector/v.generalize/main.c
grass/branches/releasebranch_6_4/vector/v.generalize/matrix.c
grass/branches/releasebranch_6_4/vector/v.generalize/misc.c
grass/branches/releasebranch_6_4/vector/v.generalize/network.c
grass/branches/releasebranch_6_4/vector/v.generalize/point.c
grass/branches/releasebranch_6_4/vector/v.generalize/smoothing.c
grass/branches/releasebranch_6_4/vector/v.kernel/main.c
grass/branches/releasebranch_6_4/vector/v.lrs/v.lrs.create/main.c
grass/branches/releasebranch_6_4/vector/v.out.ascii/b2a.c
grass/branches/releasebranch_6_4/vector/v.out.vtk/writeVTK.c
grass/branches/releasebranch_6_4/vector/v.parallel2/main.c
grass/branches/releasebranch_6_4/vector/v.reclass/main.c
grass/branches/releasebranch_6_4/vector/v.select/overlap.c
grass/branches/releasebranch_6_4/vector/v.to.3d/trans3.c
grass/branches/releasebranch_6_4/vector/v.to.db/lines.c
grass/branches/releasebranch_6_4/vector/v.to.rast/main.c
grass/branches/releasebranch_6_4/vector/v.voronoi/dt_write.c
Log:
add missing header (when compiling without GDAL support)
Modified: grass/branches/releasebranch_6_4/display/d.thematic.area/plot1.c
===================================================================
--- grass/branches/releasebranch_6_4/display/d.thematic.area/plot1.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/display/d.thematic.area/plot1.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/display/d.vect/plot1.c
===================================================================
--- grass/branches/releasebranch_6_4/display/d.vect/plot1.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/display/d.vect/plot1.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/display/d.vect.chart/pie.c
===================================================================
--- grass/branches/releasebranch_6_4/display/d.vect.chart/pie.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/display/d.vect.chart/pie.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -1,3 +1,5 @@
+#include <math.h>
+
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/dbmi.h>
Modified: grass/branches/releasebranch_6_4/general/g.region/main.c
===================================================================
--- grass/branches/releasebranch_6_4/general/g.region/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/general/g.region/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/lib/vector/Vlib/remove_areas.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/remove_areas.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/remove_areas.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -17,6 +17,8 @@
\date 2001
*/
+#include <stdlib.h>
+
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/glocale.h>
Modified: grass/branches/releasebranch_6_4/lib/vector/Vlib/snap.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/snap.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/snap.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/lib/vector/vedit/select.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/vedit/select.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/lib/vector/vedit/select.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/raster/r.proj.seg/readcell.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.proj.seg/readcell.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/raster/r.proj.seg/readcell.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/raster/r.to.vect/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.to.vect/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/raster/r.to.vect/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/lidar/lidarlib/zones.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/lidar/lidarlib/zones.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/lidar/lidarlib/zones.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.buffer2/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.buffer2/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.buffer2/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.edit/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.edit/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.edit/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -17,6 +17,7 @@
* TODO: 3D support
****************************************************************/
+#include <string.h>
#include <grass/dbmi.h>
#include "global.h"
Modified: grass/branches/releasebranch_6_4/vector/v.edit/select.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.edit/select.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.edit/select.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -18,6 +18,7 @@
* TODO: 3D support
****************************************************************/
+#include <string.h>
#include <grass/dbmi.h>
#include "global.h"
Modified: grass/branches/releasebranch_6_4/vector/v.generalize/displacement.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/displacement.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/displacement.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.generalize/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.generalize/matrix.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/matrix.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/matrix.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -17,6 +17,7 @@
*
****************************************************************/
+#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include "matrix.h"
Modified: grass/branches/releasebranch_6_4/vector/v.generalize/misc.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/misc.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/misc.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.generalize/network.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/network.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/network.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.generalize/point.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/point.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/point.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -119,7 +119,6 @@
if (!pl) {
G_fatal_error(_("Out of memory"));
- exit(1);
}
pl->next = NULL;
Modified: grass/branches/releasebranch_6_4/vector/v.generalize/smoothing.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/smoothing.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/smoothing.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.kernel/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.kernel/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.kernel/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.lrs/v.lrs.create/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.lrs/v.lrs.create/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.lrs/v.lrs.create/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.out.ascii/b2a.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.out.ascii/b2a.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.out.ascii/b2a.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include <grass/Vect.h>
#include <grass/gis.h>
#include <grass/dbmi.h>
Modified: grass/branches/releasebranch_6_4/vector/v.out.vtk/writeVTK.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.out.vtk/writeVTK.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.out.vtk/writeVTK.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.parallel2/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.parallel2/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.parallel2/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -17,6 +17,7 @@
*
**************************************************************/
#include <stdlib.h>
+#include <string.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/branches/releasebranch_6_4/vector/v.reclass/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.reclass/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.reclass/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.select/overlap.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.select/overlap.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.select/overlap.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.to.3d/trans3.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.to.3d/trans3.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.to.3d/trans3.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/dbmi.h>
Modified: grass/branches/releasebranch_6_4/vector/v.to.db/lines.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.to.db/lines.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.to.db/lines.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -1,3 +1,4 @@
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <grass/glocale.h>
Modified: grass/branches/releasebranch_6_4/vector/v.to.rast/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.to.rast/main.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.to.rast/main.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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/releasebranch_6_4/vector/v.voronoi/dt_write.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.voronoi/dt_write.c 2012-10-24 08:21:40 UTC (rev 53540)
+++ grass/branches/releasebranch_6_4/vector/v.voronoi/dt_write.c 2012-10-24 10:37:32 UTC (rev 53541)
@@ -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