0032629: Configuration, scripts - add USE_PTHREADS building option to wasm_build.bat
[occt.git] / src / OSD / OSD_Process.cxx
index bb530e9..acd7f5c 100644 (file)
@@ -41,7 +41,9 @@
   #include <stdlib.h>
   #include <sys/param.h>
   #include <sys/time.h>
+  #if !defined(__EMSCRIPTEN__)
   #include <pwd.h>       // For command getpwuid
+  #endif
   #include <unistd.h>
 #endif