[GRASS-SVN] r43111 - grass/trunk/lib/vector/dglib/examples

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 14 14:06:28 EDT 2010


Author: mmetz
Date: 2010-08-14 18:06:28 +0000 (Sat, 14 Aug 2010)
New Revision: 43111

Modified:
   grass/trunk/lib/vector/dglib/examples/parse.c
Log:
lib/vector/dglib/examples: LFS for wingrass

Modified: grass/trunk/lib/vector/dglib/examples/parse.c
===================================================================
--- grass/trunk/lib/vector/dglib/examples/parse.c	2010-08-14 18:05:32 UTC (rev 43110)
+++ grass/trunk/lib/vector/dglib/examples/parse.c	2010-08-14 18:06:28 UTC (rev 43111)
@@ -20,14 +20,15 @@
  * Source best viewed with tabstop=4
  */
 
-#include<stdio.h>
-#include<regex.h>
-#include<fcntl.h>
-#include<stdlib.h>
-#include<string.h>
-#include<sys/types.h>
-#include<sys/stat.h>
-#include<unistd.h>
+#include <grass/config.h>
+#include <stdio.h>
+#include <regex.h>
+#include <fcntl.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
 
 #include "opt.h"
 #include "../type.h"
@@ -116,7 +117,7 @@
 
     unsigned char *pbNodeAttr, *pbEdgeAttr, *pbToNodeAttr;
 
-    struct stat statdata;
+    STRUCT_STAT statdata;
 
     dglGraph_s graphOut;
 



More information about the grass-commit mailing list