summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-08-08 06:01:34 +0800
committerGitHub <noreply@github.com>2023-08-07 15:01:34 -0700
commit0d803a4c934ccfbb1922b86a7b09a7e98c77211a (patch)
tree39923dedc354ce496cae8e1978e789829543eac8 /source
parent10b2038a8e71eb4a0e41cff38bc71e36dc0003aa (diff)
Add missing header in slang-glslang (#3055)
Required for memcpy (not sure why this has started being important, but it is the correct thing to do) Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source')
-rw-r--r--source/slang-glslang/slang-glslang.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang-glslang/slang-glslang.h b/source/slang-glslang/slang-glslang.h
index 1fb76f1f3..40c574e08 100644
--- a/source/slang-glslang/slang-glslang.h
+++ b/source/slang-glslang/slang-glslang.h
@@ -4,6 +4,7 @@
#include <stddef.h>
#include <memory>
+#include <cstring>
typedef void (*glslang_OutputFunc)(void const* data, size_t size, void* userData);