diff --git a/src/IKVM.Clang.Sdk.Tests/Project/Executable/main.c b/src/IKVM.Clang.Sdk.Tests/Project/Executable/main.c
index ae6f546..d113b26 100644
--- a/src/IKVM.Clang.Sdk.Tests/Project/Executable/main.c
+++ b/src/IKVM.Clang.Sdk.Tests/Project/Executable/main.c
@@ -12,6 +12,8 @@ int main() {
#endif
}
+#ifdef EMSCRIPTEN
int exit() {
return 0;
}
+#endif
diff --git a/src/IKVM.Clang.Sdk.Tests/Project/lib.props b/src/IKVM.Clang.Sdk.Tests/Project/lib.props
index df0a07a..a4cc405 100644
--- a/src/IKVM.Clang.Sdk.Tests/Project/lib.props
+++ b/src/IKVM.Clang.Sdk.Tests/Project/lib.props
@@ -103,6 +103,7 @@
+