diff --git a/lib/acl_entries.c b/lib/acl_entries.c index b78ba18a656..f9619c0f539 100644 --- a/lib/acl_entries.c +++ b/lib/acl_entries.c @@ -44,7 +44,7 @@ acl_entries (acl_t acl) got_one >= 0; got_one = acl_get_entry (acl, ACL_NEXT_ENTRY, &ace)) count++; -#else /* Linux, FreeBSD, NetBSD >= 10, Cygwin >= 2.5 */ +#elif !defined __MINGW32__ /* Linux, FreeBSD, NetBSD >= 10, Cygwin >= 2.5 */ /* acl_get_entry returns 1 when it successfully fetches an entry, and 0 at the end. */ acl_entry_t ace; diff --git a/nt/gnulib-cfg.mk b/nt/gnulib-cfg.mk index 7b164c1b119..d2f09cf095e 100644 --- a/nt/gnulib-cfg.mk +++ b/nt/gnulib-cfg.mk @@ -59,6 +59,8 @@ OMIT_GNULIB_MODULE_futimens = true OMIT_GNULIB_MODULE_getdelim = true OMIT_GNULIB_MODULE_getline = true OMIT_GNULIB_MODULE_inttypes-h-incomplete = true +OMIT_GNULIB_MODULE_issymlink = true +OMIT_GNULIB_MODULE_issymlinkat = true OMIT_GNULIB_MODULE_lchmod = true OMIT_GNULIB_MODULE_malloc-gnu = true OMIT_GNULIB_MODULE_malloc-posix = true