From: Michihiro NAKAJIMA Date: Thu, 8 Sep 2011 06:46:04 +0000 (-0400) Subject: Fix build failure on Cygwin. X-Git-Tag: v3.0.0a~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1ec4269490ce811591ca5da32bcbbf7a5f96de;p=thirdparty%2Flibarchive.git Fix build failure on Cygwin. SVN-Revision: 3693 --- diff --git a/libarchive/archive_util.c b/libarchive/archive_util.c index be7b2220e..e0852a3b5 100644 --- a/libarchive/archive_util.c +++ b/libarchive/archive_util.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_util.c 201098 2009-12-28 02:58:1 #ifdef HAVE_STRING_H #include #endif -#ifdef HAVE_WINCRYPT_H +#if defined(HAVE_WINCRYPT_H) && !defined(__CYGWIN__) #include #endif