Explorar o código

add mising headers (compiling without gdal/ogr)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45656 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=14) %!d(string=hai) anos
pai
achega
8e11a4e54f

+ 1 - 0
general/g.region/main.c

@@ -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>

+ 1 - 0
lib/lidar/zones.c

@@ -2,6 +2,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <math.h>
 #include <grass/lidar.h>
 
 /*----------------------------------------------------------------------------------------*/

+ 1 - 0
lib/vector/Vlib/ascii.c

@@ -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>
 

+ 1 - 1
lib/vector/Vlib/find.c

@@ -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>
 

+ 1 - 0
lib/vector/Vlib/geos.c

@@ -13,6 +13,7 @@
   \author Martin Landa <landa.martin gmail.com>
  */
 
+#include <stdlib.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 

+ 1 - 0
vector/v.buffer/main.c

@@ -18,6 +18,7 @@
  **************************************************************/
 #include <stdlib.h>
 #include <string.h>
+#include <math.h>
 
 #include <grass/gis.h>
 #include <grass/vector.h>

+ 1 - 0
vector/v.build/main.c

@@ -17,6 +17,7 @@
  **************************************************************/
 
 #include <stdlib.h>
+#include <string.h>
 #include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>

+ 1 - 0
vector/v.generalize/misc.c

@@ -17,6 +17,7 @@
  *
  ****************************************************************/
 
+#include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/dbmi.h>

+ 1 - 0
vector/v.hull/hull.c

@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <grass/glocale.h>
 
 #include "hull.h"

+ 1 - 1
vector/v.info/main.c

@@ -15,7 +15,7 @@
  *               comes with GRASS for details.
  *
  **************************************************************/
-
+#include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>

+ 2 - 0
vector/v.info/parse.c

@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
 #include <grass/gis.h>
 #include <grass/glocale.h>
 

+ 1 - 0
vector/v.kernel/main.c

@@ -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>

+ 2 - 0
vector/v.net/args.c

@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 

+ 1 - 0
vector/v.parallel/main.c

@@ -19,6 +19,7 @@
 
 #include <stdlib.h>
 #include <math.h>
+#include <string.h>
 
 #include <grass/gis.h>
 #include <grass/vector.h>

+ 1 - 0
vector/v.select/overlap.c

@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/dbmi.h>
 #include <grass/vector.h>

+ 1 - 0
vector/v.split/main.c

@@ -19,6 +19,7 @@
 
 #include <stdlib.h>
 #include <math.h>
+#include <string.h>
 
 #include <grass/gis.h>
 #include <grass/vector.h>

+ 1 - 0
vector/v.to.3d/trans3.c

@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/dbmi.h>

+ 1 - 0
vector/v.to.db/lines.c

@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <math.h>
 #include <grass/glocale.h>
 
 #include "global.h"