libarchive: Fix include order in xxhash.c

We need to include `archive_platform.h` before any system headers in
order to ensure that `_WIN32_WINNT` is defined early enough.
This commit is contained in:
Brad King 2016-08-17 10:41:13 -04:00
parent 67a7dcef45
commit 481c9003fa
1 changed files with 3 additions and 2 deletions

View File

@ -29,12 +29,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
You can contact the author at : You can contact the author at :
- xxHash source repository : http://code.google.com/p/xxhash/ - xxHash source repository : http://code.google.com/p/xxhash/
*/ */
#include <stdlib.h>
#include <string.h>
#include "archive_platform.h" #include "archive_platform.h"
#include "archive_xxhash.h" #include "archive_xxhash.h"
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_LIBLZ4 #ifdef HAVE_LIBLZ4
/*************************************** /***************************************