summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-05 13:03:26 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-05 13:03:26 (GMT)
commit0d06cc457c2b526584c52153001d88051f6b5fbd (patch)
tree5ee37882104edb876dadeea36ed54fa639de9e6b /Source/CPack
parentac4d6d4a9d9b81773e61c643169cb2afe1bab644 (diff)
downloadCMake-0d06cc457c2b526584c52153001d88051f6b5fbd.zip
CMake-0d06cc457c2b526584c52153001d88051f6b5fbd.tar.gz
CMake-0d06cc457c2b526584c52153001d88051f6b5fbd.tar.bz2
CPack/FreeBSD: Cleanup include-what-you-use diagnostics
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackFreeBSDGenerator.cxx4
-rw-r--r--Source/CPack/cmCPackFreeBSDGenerator.h4
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