Browse Source

lib/init: LFS for wingrass

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43109 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 năm trước cách đây
mục cha
commit
8c93d7a952
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      lib/init/clean_temp.c

+ 2 - 1
lib/init/clean_temp.c

@@ -1,3 +1,4 @@
+#include <grass/config.h>
 #include <stdlib.h>
 #include <signal.h>
 #include <unistd.h>
@@ -43,7 +44,7 @@ void clean_dir(const char *pathname, uid_t uid, pid_t pid, time_t now,
     char buf[BUF_MAX];
     DIR *curdir;
     struct dirent *cur_entry;
-    struct stat info;
+    STRUCT_STAT info;
     int n, pathlen;
 
     curdir = opendir(pathname);