diff options
author | Brad King <brad.king@kitware.com> | 2019-09-06 16:34:46 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-09-06 16:35:00 (GMT) |
commit | 32c9ab8a1ba1dc55275aaad4285f0006ee8d4ea0 (patch) | |
tree | fafc50d85cd67bdae3a8e642ceee65c8de7f5919 /Source | |
parent | 7772c1db03b2424d0b8bc0f7b89e5733d2770b1d (diff) | |
parent | 0d06cc457c2b526584c52153001d88051f6b5fbd (diff) | |
download | CMake-32c9ab8a1ba1dc55275aaad4285f0006ee8d4ea0.zip CMake-32c9ab8a1ba1dc55275aaad4285f0006ee8d4ea0.tar.gz CMake-32c9ab8a1ba1dc55275aaad4285f0006ee8d4ea0.tar.bz2 |
Merge topic 'iwyu-freebsd-pkg'
0d06cc457c CPack/FreeBSD: Cleanup include-what-you-use diagnostics
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3785
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CPack/cmCPackFreeBSDGenerator.cxx | 4 | ||||
-rw-r--r-- | Source/CPack/cmCPackFreeBSDGenerator.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackFreeBSDGenerator.cxx b/Source/CPack/cmCPackFreeBSDGenerator.cxx index 3979000..b3cb2ad 100644 --- a/Source/CPack/cmCPackFreeBSDGenerator.cxx +++ b/Source/CPack/cmCPackFreeBSDGenerator.cxx @@ -12,13 +12,13 @@ // Needed for ::open() and ::stat() #include <fcntl.h> #include <sys/stat.h> -#include <sys/types.h> -#include <unistd.h> #include <pkg.h> #include <algorithm> +#include <ostream> #include <utility> +#include <vector> cmCPackFreeBSDGenerator::cmCPackFreeBSDGenerator() : cmCPackArchiveGenerator(cmArchiveWrite::CompressXZ, "paxr", ".txz") diff --git a/Source/CPack/cmCPackFreeBSDGenerator.h b/Source/CPack/cmCPackFreeBSDGenerator.h index 80c53b1..9c8a934 100644 --- a/Source/CPack/cmCPackFreeBSDGenerator.h +++ b/Source/CPack/cmCPackFreeBSDGenerator.h @@ -3,11 +3,13 @@ #ifndef cmCPackFreeBSDGenerator_h #define cmCPackFreeBSDGenerator_h -#include <cmConfigure.h> +#include "cmConfigure.h" // IWYU pragma: keep #include "cmCPackArchiveGenerator.h" #include "cmCPackGenerator.h" +#include <string> + class cmGeneratedFileStream; /** \class cmCPackFreeBSDGenerator |