Explorar el Código

dbmi_base: LFS for wingrass

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43108 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz hace 15 años
padre
commit
6354f74e9e
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      lib/db/dbmi_base/isdir.c

+ 2 - 1
lib/db/dbmi_base/isdir.c

@@ -1,3 +1,4 @@
+#include <grass/config.h>
 #include <grass/dbmi.h>
 #include <unistd.h>
 #include <sys/types.h>
@@ -11,7 +12,7 @@
  */
 int db_isdir(const char *path)
 {
-    struct stat x;
+    STRUCT_STAT x;
 
     if (stat(path, &x) != 0)
 	return DB_FAILED;