aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/misc.c b/g10/misc.c
index d1ff14c4b..b98ab8f4c 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -341,6 +341,7 @@ openpgp_md_test_algo( int algo )
int
check_permissions(const char *path,int checkonly)
{
+#ifndef HAVE_DOSISH_SYSTEM
#ifdef HAVE_STAT
struct stat statbuf;
int isdir=0;
@@ -392,6 +393,7 @@ check_permissions(const char *path,int checkonly)
return 1;
}
#endif
+#endif /*!HAVE_DOSISH_SYSTEM*/
return 0;
}