summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormartinRenou <martin.renou@gmail.com>2022-05-02 20:19:13 +0200
committerGitHub <noreply@github.com>2022-05-02 11:19:13 -0700
commit5d157836c4b684e6a9f2f4a431fb748fa6ab969c (patch)
tree11007481095b841d9df25f552ea10a12a647295b /src
parent4cb74fc379628f58bad45be2c5ca0b0350d0108b (diff)
downloadbinaryen-5d157836c4b684e6a9f2f4a431fb748fa6ab969c.tar.gz
binaryen-5d157836c4b684e6a9f2f4a431fb748fa6ab969c.tar.bz2
binaryen-5d157836c4b684e6a9f2f4a431fb748fa6ab969c.zip
Add missing include for windows (#4627)
Without this Windows fails with: 'isdigit': is not a member of 'std'
Diffstat (limited to 'src')
-rw-r--r--src/passes/ExtractFunction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/ExtractFunction.cpp b/src/passes/ExtractFunction.cpp
index 0c0c1477e..0939ebe28 100644
--- a/src/passes/ExtractFunction.cpp
+++ b/src/passes/ExtractFunction.cpp
@@ -20,6 +20,8 @@
// This pass will run --remove-unused-module-elements automatically for you, in
// order to remove as many things as possible.
+#include <cctype>
+
#include "pass.h"
#include "wasm-builder.h"
#include "wasm.h"