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:
parent
67a7dcef45
commit
481c9003fa
|
@ -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
|
||||||
|
|
||||||
/***************************************
|
/***************************************
|
||||||
|
|
Loading…
Reference in New Issue