git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43105 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -1,10 +1,11 @@
+#include <grass/config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "access.h"
int get_perms(char *path, int *perms, int *group, int *other)
{
- struct stat buf;
+ STRUCT_STAT buf;
if (stat(path, &buf) != 0)
return -1;