diff options
-rw-r--r-- | archival/libunarchive/get_header_cpio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archival/libunarchive/get_header_cpio.c b/archival/libunarchive/get_header_cpio.c index 6fd134018..2d9d36efb 100644 --- a/archival/libunarchive/get_header_cpio.c +++ b/archival/libunarchive/get_header_cpio.c | |||
@@ -143,7 +143,9 @@ char get_header_cpio(archive_handle_t *archive_handle) | |||
143 | /* Found the file with data in */ | 143 | /* Found the file with data in */ |
144 | pending_hardlinks = nlink; | 144 | pending_hardlinks = nlink; |
145 | } | 145 | } |
146 | #ifndef __MINGW32__ | ||
146 | file_header->device = makedev(major, minor); | 147 | file_header->device = makedev(major, minor); |
148 | #endif | ||
147 | 149 | ||
148 | if (archive_handle->filter(archive_handle) == EXIT_SUCCESS) { | 150 | if (archive_handle->filter(archive_handle) == EXIT_SUCCESS) { |
149 | archive_handle->action_data(archive_handle); | 151 | archive_handle->action_data(archive_handle); |