[GRASS-SVN] r43108 - grass/trunk/lib/db/dbmi_base
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 14 14:03:45 EDT 2010
Author: mmetz
Date: 2010-08-14 18:03:45 +0000 (Sat, 14 Aug 2010)
New Revision: 43108
Modified:
grass/trunk/lib/db/dbmi_base/isdir.c
Log:
dbmi_base: LFS for wingrass
Modified: grass/trunk/lib/db/dbmi_base/isdir.c
===================================================================
--- grass/trunk/lib/db/dbmi_base/isdir.c 2010-08-14 18:02:48 UTC (rev 43107)
+++ grass/trunk/lib/db/dbmi_base/isdir.c 2010-08-14 18:03:45 UTC (rev 43108)
@@ -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;
More information about the grass-commit
mailing list