[GRASS-SVN] r51321 - grass-addons/grass7/raster/r.stream.basins

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 9 14:42:00 EDT 2012


Author: neteler
Date: 2012-04-09 11:42:00 -0700 (Mon, 09 Apr 2012)
New Revision: 51321

Modified:
   grass-addons/grass7/raster/r.stream.basins/Makefile
   grass-addons/grass7/raster/r.stream.basins/basins_inputs.c
Log:
fix compilation error

Modified: grass-addons/grass7/raster/r.stream.basins/Makefile
===================================================================
--- grass-addons/grass7/raster/r.stream.basins/Makefile	2012-04-09 18:17:27 UTC (rev 51320)
+++ grass-addons/grass7/raster/r.stream.basins/Makefile	2012-04-09 18:42:00 UTC (rev 51321)
@@ -2,8 +2,8 @@
 
 PGM = r.stream.basins
 
-LIBES = $(GISLIB) $(RASTERLIB) $(SEGMENTLIB) $(VECTLIB) $(DBMILIB)
-DEPENDENCIES = $(GISDEP) $(RASTERDEP) $(SEGMENTDEP) $(VECTDEP) $(DBMIDEP)
+LIBES = $(GISLIB) $(RASTERLIB) $(SEGMENTLIB) $(VECTORLIB) $(DBMILIB)
+DEPENDENCIES = $(GISDEP) $(RASTERDEP) $(SEGMENTDEP) $(VECTORDEP) $(DBMIDEP)
 
 EXTRA_INC = $(VECT_INC)
 EXTRA_CFLAGS = $(VECT_CFLAGS)

Modified: grass-addons/grass7/raster/r.stream.basins/basins_inputs.c
===================================================================
--- grass-addons/grass7/raster/r.stream.basins/basins_inputs.c	2012-04-09 18:17:27 UTC (rev 51320)
+++ grass-addons/grass7/raster/r.stream.basins/basins_inputs.c	2012-04-09 18:42:00 UTC (rev 51321)
@@ -1,4 +1,9 @@
+#include <grass/gis.h>
+#include <grass/vector.h>
+#include <grass/glocale.h>
+
 #include "local_proto.h"
+
 int process_coors(char **answers)
 {
 



More information about the grass-commit mailing list