浏览代码

gisdefs.h: LFS for wingrass

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43102 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 15 年之前
父节点
当前提交
d3c3d24047
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      include/gisdefs.h

+ 4 - 3
include/gisdefs.h

@@ -31,6 +31,8 @@
 
 /*============================== Prototypes ================================*/
 
+#include <grass/config.h>
+
 #ifdef __GNUC__
 # ifdef __MINGW32__
 #  include <malloc.h>
@@ -473,9 +475,8 @@ int G_is_dirsep(char);
 int G_is_absolute_path(const char *);
 char *G_convert_dirseps_to_host(char *);
 char *G_convert_dirseps_from_host(char *);
-struct stat;
-int G_lstat(const char *, struct stat *);
-int G_stat(const char *, struct stat *);
+int G_lstat(const char *, STRUCT_STAT *);
+int G_stat(const char *, STRUCT_STAT *);
 
 /* percent.c */
 void G_percent(long, long, int);