diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-01-02 10:11:20 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2022-01-02 10:15:19 (GMT) |
commit | a1ca50d9fc49ff7e30fd01e162e7c0a365cf6835 (patch) | |
tree | 6a2bd4ea17b5b08c644d2aab844e60046b00d4eb | |
parent | 5c09fe028318e48b68c3128d3f465a3ba6f65287 (diff) | |
download | CMake-a1ca50d9fc49ff7e30fd01e162e7c0a365cf6835.zip CMake-a1ca50d9fc49ff7e30fd01e162e7c0a365cf6835.tar.gz CMake-a1ca50d9fc49ff7e30fd01e162e7c0a365cf6835.tar.bz2 |
cmMachO: Add missing header for std::unique_ptr
Builds were previously relying on <memory> being included
by <string>, but not all compilers do that and we shouldn't
be relying on that anyway.
-rw-r--r-- | Source/cmMachO.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMachO.h b/Source/cmMachO.h index faa024b..ec7d54c 100644 --- a/Source/cmMachO.h +++ b/Source/cmMachO.h @@ -5,6 +5,7 @@ #include "cmConfigure.h" // IWYU pragma: keep #include <iosfwd> +#include <memory> #include <string> #if !defined(CMake_USE_MACH_PARSER) |