From: NiLuJe Date: Sun, 22 Dec 2013 22:26:04 +0000 (+0100) Subject: Fix cpio build on MinGW. X-Git-Tag: v3.1.900a~341 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06cba06e461f9c4961cf56be8d5fc2420f9678c5;p=thirdparty%2Flibarchive.git Fix cpio build on MinGW. Exact same concept as the previous commit. --- diff --git a/cpio/cpio_platform.h b/cpio/cpio_platform.h index 31d9a738f..58d2edbcd 100644 --- a/cpio/cpio_platform.h +++ b/cpio/cpio_platform.h @@ -42,6 +42,10 @@ #include "config.h" #endif +#if defined(_WIN32) && !defined(__CYGWIN__) +#include "cpio_windows.h" +#endif + /* Get a real definition for __FBSDID if we can */ #if HAVE_SYS_CDEFS_H #include @@ -70,8 +74,4 @@ #define __LA_DEAD #endif -#if defined(_WIN32) && !defined(__CYGWIN__) -#include "cpio_windows.h" -#endif - #endif /* !CPIO_PLATFORM_H_INCLUDED */