diff options
author | Ron Yorston <rmy@pobox.com> | 2015-01-05 21:18:10 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-01-05 21:18:10 +0000 |
commit | f9bba0a50fafc7868630767a55cde9f5a16b8d76 (patch) | |
tree | 6749e1f5908daaa726dc195e3a04b7a6ac404690 /archival | |
parent | 067f2e7eaf36deac1175eaf24eeb118adcd37179 (diff) | |
download | busybox-w32-f9bba0a50fafc7868630767a55cde9f5a16b8d76.tar.gz busybox-w32-f9bba0a50fafc7868630767a55cde9f5a16b8d76.tar.bz2 busybox-w32-f9bba0a50fafc7868630767a55cde9f5a16b8d76.zip |
Changes to allow building with MinGW-w64
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libarchive/decompress_gunzip.c | 3 | ||||
-rw-r--r-- | archival/unzip.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/archival/libarchive/decompress_gunzip.c b/archival/libarchive/decompress_gunzip.c index 1360abef7..2dcc138f9 100644 --- a/archival/libarchive/decompress_gunzip.c +++ b/archival/libarchive/decompress_gunzip.c | |||
@@ -36,6 +36,9 @@ | |||
36 | #include <setjmp.h> | 36 | #include <setjmp.h> |
37 | #include "libbb.h" | 37 | #include "libbb.h" |
38 | #include "bb_archive.h" | 38 | #include "bb_archive.h" |
39 | #if ENABLE_PLATFORM_MINGW32 | ||
40 | #pragma pack(2) | ||
41 | #endif | ||
39 | 42 | ||
40 | typedef struct huft_t { | 43 | typedef struct huft_t { |
41 | unsigned char e; /* number of extra bits or operation */ | 44 | unsigned char e; /* number of extra bits or operation */ |
diff --git a/archival/unzip.c b/archival/unzip.c index 38a07e212..9b6ceb25f 100644 --- a/archival/unzip.c +++ b/archival/unzip.c | |||
@@ -44,6 +44,9 @@ | |||
44 | 44 | ||
45 | #include "libbb.h" | 45 | #include "libbb.h" |
46 | #include "bb_archive.h" | 46 | #include "bb_archive.h" |
47 | #if ENABLE_PLATFORM_MINGW32 | ||
48 | #pragma pack(2) | ||
49 | #endif | ||
47 | 50 | ||
48 | enum { | 51 | enum { |
49 | #if BB_BIG_ENDIAN | 52 | #if BB_BIG_ENDIAN |