summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-22 21:07:41 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-24 21:59:23 (GMT)
commitd32c30906a64cda66033842dfc7af3665c477f4e (patch)
tree72721da2a32eeffaf53d8986e76c0ee68fe5eb2b /Tests
parent30c067e24ad437e8b71ad5373032265c6dbbe299 (diff)
downloadCMake-d32c30906a64cda66033842dfc7af3665c477f4e.zip
CMake-d32c30906a64cda66033842dfc7af3665c477f4e.tar.gz
CMake-d32c30906a64cda66033842dfc7af3665c477f4e.tar.bz2
Tests: Add missing include in testUVProcessChainHelper on Windows
We use `STATUS_ACCESS_VIOLATION` from `windows.h`.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLib/testUVProcessChainHelper.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testUVProcessChainHelper.cxx b/Tests/CMakeLib/testUVProcessChainHelper.cxx
index b53cac4..1b4adb7 100644
--- a/Tests/CMakeLib/testUVProcessChainHelper.cxx
+++ b/Tests/CMakeLib/testUVProcessChainHelper.cxx
@@ -9,6 +9,10 @@
#include "cmSystemTools.h"
+#ifdef _WIN32
+# include <windows.h>
+#endif
+
static std::string getStdin()
{
char buffer[1024];