diff options
author | Brad King <brad.king@kitware.com> | 2022-02-16 12:40:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-24 16:35:26 (GMT) |
commit | ac5e524763de5890088b4398b124fd6fd734c234 (patch) | |
tree | 01185fa8107d380bbdfc73f9a9b0db2f83177b97 /Utilities | |
parent | b93d8b17143b251c2de3ff9c202fb6f200090091 (diff) | |
download | CMake-ac5e524763de5890088b4398b124fd6fd734c234.zip CMake-ac5e524763de5890088b4398b124fd6fd734c234.tar.gz CMake-ac5e524763de5890088b4398b124fd6fd734c234.tar.bz2 |
libarchive: include archive_platform.h first in blake2s sources
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.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_blake2s_ref.c | 2 | ||||
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_blake2sp_ref.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_blake2s_ref.c b/Utilities/cmlibarchive/libarchive/archive_blake2s_ref.c index d92ffd0..93d3281 100644 --- a/Utilities/cmlibarchive/libarchive/archive_blake2s_ref.c +++ b/Utilities/cmlibarchive/libarchive/archive_blake2s_ref.c @@ -13,6 +13,8 @@ https://blake2.net. */ +#include "archive_platform.h" + #include <stdint.h> #include <string.h> #include <stdio.h> diff --git a/Utilities/cmlibarchive/libarchive/archive_blake2sp_ref.c b/Utilities/cmlibarchive/libarchive/archive_blake2sp_ref.c index aef1010..b913a4d 100644 --- a/Utilities/cmlibarchive/libarchive/archive_blake2sp_ref.c +++ b/Utilities/cmlibarchive/libarchive/archive_blake2sp_ref.c @@ -13,6 +13,8 @@ https://blake2.net. */ +#include "archive_platform.h" + #include <stdlib.h> #include <string.h> #include <stdio.h> |