diff --git a/src/base/sn/snCom.c b/src/base/sn/snCom.c index 5e9ead0a7..8a894a810 100644 --- a/src/base/sn/snCom.c +++ b/src/base/sn/snCom.c @@ -40,7 +40,9 @@ #else #include #include +#if !defined(__wasm) #include +#endif #include #endif @@ -1628,7 +1630,11 @@ static int Sn_MapLutExecutable( char * pBuffer, size_t nBuffer ) static int Sn_MapLutRunProcess( const char * pExecutable, const char * pCommand ) { -#if defined(_MSC_VER) || defined(__MINGW32__) +#if defined(__wasm) + (void)pExecutable; + (void)pCommand; + return -1; +#elif defined(_MSC_VER) || defined(__MINGW32__) const char * pArgs[] = {pExecutable, "-q", pCommand, NULL}; return (int)_spawnv( _P_WAIT, pExecutable, pArgs ); #else