summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-11 18:39:20 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-11 18:39:58 (GMT)
commitea7177b94760d6abcb05649bf694143c53608766 (patch)
treef2630b0ba358362f1d52d6a2ca237f6f78f5ba5b
parent28adf3833c23411dfce12b5be754ad53bc2b9b05 (diff)
downloadCMake-ea7177b94760d6abcb05649bf694143c53608766.zip
CMake-ea7177b94760d6abcb05649bf694143c53608766.tar.gz
CMake-ea7177b94760d6abcb05649bf694143c53608766.tar.bz2
cmCustomCommandGenerator: Fix include-what-you-use diagnostic
For `size_t` we should include `stddef.h`.
-rw-r--r--Source/cmCustomCommandGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCustomCommandGenerator.cxx b/Source/cmCustomCommandGenerator.cxx
index c6a2800..fa1c70e 100644
--- a/Source/cmCustomCommandGenerator.cxx
+++ b/Source/cmCustomCommandGenerator.cxx
@@ -13,6 +13,8 @@
#include "cmSystemTools.h"
#include "cm_auto_ptr.hxx"
+#include <stddef.h>
+
cmCustomCommandGenerator::cmCustomCommandGenerator(cmCustomCommand const& cc,
const std::string& config,
cmLocalGenerator* lg)