summaryrefslogtreecommitdiffstats
path: root/Source/cmMachO.h
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-01-02 10:11:20 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-01-02 10:15:19 (GMT)
commita1ca50d9fc49ff7e30fd01e162e7c0a365cf6835 (patch)
tree6a2bd4ea17b5b08c644d2aab844e60046b00d4eb /Source/cmMachO.h
parent5c09fe028318e48b68c3128d3f465a3ba6f65287 (diff)
downloadCMake-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.
Diffstat (limited to 'Source/cmMachO.h')
-rw-r--r--Source/cmMachO.h1
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)