diff --git a/libpkgconf/path.c b/libpkgconf/path.c index 7638a94..4d59b33 100644 --- a/libpkgconf/path.c +++ b/libpkgconf/path.c @@ -16,7 +16,7 @@ #include #include -#ifdef HAVE_CYGWIN_CONV_PATH +#if defined(HAVE_CYGWIN_CONV_PATH) && defined(__MSYS__) # include #endif @@ -246,7 +246,7 @@ pkgconf_path_free(pkgconf_list_t *dirlist) bool pkgconf_path_relocate(char *buf, size_t buflen) { -#if defined(HAVE_CYGWIN_CONV_PATH) +#if defined(HAVE_CYGWIN_CONV_PATH) && defined(__MSYS__) ssize_t size; char *tmpbuf, *ti;