Browse Source

lib/vector/dglib/examples: LFS for wingrass

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43111 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 years ago
parent
commit
90f7566fab
1 changed files with 10 additions and 9 deletions
  1. 10 9
      lib/vector/dglib/examples/parse.c

+ 10 - 9
lib/vector/dglib/examples/parse.c

@@ -20,14 +20,15 @@
  * Source best viewed with tabstop=4
  * 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 "opt.h"
 #include "../type.h"
 #include "../type.h"
@@ -116,7 +117,7 @@ int main(int argc, char **argv)
 
 
     unsigned char *pbNodeAttr, *pbEdgeAttr, *pbToNodeAttr;
     unsigned char *pbNodeAttr, *pbEdgeAttr, *pbToNodeAttr;
 
 
-    struct stat statdata;
+    STRUCT_STAT statdata;
 
 
     dglGraph_s graphOut;
     dglGraph_s graphOut;