mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
libarchive: include archive_platform.h first in blake2s sources
Move the inclusion added in 3.6.0 to be first. This is the libarchive convention in all other `.c` sources. It ensures that the configured `_WIN32_WINNT` value is defined before including any system headers.
This commit is contained in:
@@ -13,11 +13,12 @@
|
||||
https://blake2.net.
|
||||
*/
|
||||
|
||||
#include "archive_platform.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "archive_platform.h"
|
||||
#include "archive_blake2.h"
|
||||
#include "archive_blake2_impl.h"
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
https://blake2.net.
|
||||
*/
|
||||
|
||||
#include "archive_platform.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
@@ -21,7 +23,6 @@
|
||||
#include <omp.h>
|
||||
#endif
|
||||
|
||||
#include "archive_platform.h"
|
||||
#include "archive_blake2.h"
|
||||
#include "archive_blake2_impl.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user