summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-03-05 13:33:57 +0000
committerryoon <ryoon@pkgsrc.org>2015-03-05 13:33:57 +0000
commit811cf91b43139b9e0eacf2c3c6f9636566faa078 (patch)
treea6b6bf2831429ac9f76ebe3ca31d7ee851d40e7c /archivers
parentd45c037c7b353acc3da1a3c92d3523f08963fc7f (diff)
downloadpkgsrc-811cf91b43139b9e0eacf2c3c6f9636566faa078.tar.gz
Fix Cygwin build.
Include windows.h for some #define and typdef.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libarchive/files/libarchive/archive_crypto_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/archivers/libarchive/files/libarchive/archive_crypto_private.h b/archivers/libarchive/files/libarchive/archive_crypto_private.h
index f8b1fb3c3f5..42d8e88bb8c 100644
--- a/archivers/libarchive/files/libarchive/archive_crypto_private.h
+++ b/archivers/libarchive/files/libarchive/archive_crypto_private.h
@@ -143,6 +143,7 @@
defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\
defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\
defined(ARCHIVE_CRYPTO_SHA512_WIN)
+#include <windows.h>
#include <wincrypt.h>
typedef struct {
int valid;