[GRASS-SVN] r43113 - grass/trunk/vector/v.mapcalc

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 14 14:08:25 EDT 2010


Author: mmetz
Date: 2010-08-14 18:08:25 +0000 (Sat, 14 Aug 2010)
New Revision: 43113

Modified:
   grass/trunk/vector/v.mapcalc/map.c
Log:
v.mapcalc: LFS for wingrass

Modified: grass/trunk/vector/v.mapcalc/map.c
===================================================================
--- grass/trunk/vector/v.mapcalc/map.c	2010-08-14 18:07:36 UTC (rev 43112)
+++ grass/trunk/vector/v.mapcalc/map.c	2010-08-14 18:08:25 UTC (rev 43113)
@@ -12,6 +12,7 @@
  *               for details.
  *
  *****************************************************************************/
+#include <grass/config.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -129,7 +130,7 @@
 	return;
 
     while ((ent = readdir(dir)) != NULL) {
-	struct stat buf;
+	STRUCT_STAT buf;
 
 	if (!strcmp(ent->d_name, ".") || !strcmp(ent->d_name, ".."))
 	    continue;



More information about the grass-commit mailing list