diff options
author | Brad King <brad.king@kitware.com> | 2022-02-16 07:40:05 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-24 12:35:26 -0400 |
commit | ac5e524763de5890088b4398b124fd6fd734c234 (patch) | |
tree | 01185fa8107d380bbdfc73f9a9b0db2f83177b97 | |
parent | b93d8b17143b251c2de3ff9c202fb6f200090091 (diff) | |
download | cmake-ac5e524763de5890088b4398b124fd6fd734c234.tar.gz |
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.
-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 d92ffd0fc5..93d3281189 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 aef101084a..b913a4db65 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> |