瀏覽代碼

lib/init: LFS for wingrass

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43109 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 15 年之前
父節點
當前提交
8c93d7a952
共有 1 個文件被更改,包括 2 次插入1 次删除
  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);