From d8183b68b0601141ad3f67b6e0d98684ed34da95 Mon Sep 17 00:00:00 2001 From: Karen Lucknavalai Date: Fri, 14 Jul 2023 12:07:14 -0700 Subject: [PATCH] Fix VS2017 builds because of a missing cctype include - std::isspace requires include of cctype in VS2017 --- source/MaterialXGenMsl/MslShaderGenerator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/MaterialXGenMsl/MslShaderGenerator.cpp b/source/MaterialXGenMsl/MslShaderGenerator.cpp index 61a1c8f572..dcb0a3ed69 100644 --- a/source/MaterialXGenMsl/MslShaderGenerator.cpp +++ b/source/MaterialXGenMsl/MslShaderGenerator.cpp @@ -43,6 +43,8 @@ #include "MslResourceBindingContext.h" +#include + MATERIALX_NAMESPACE_BEGIN const string MslShaderGenerator::TARGET = "genmsl";