I tried compiling a game I made with glut using RakNet in C++. But whenever try to compile it for browser. I get this error:
lib/RakNet/Source/FileList.cpp:24:10: fatal error: 'sys/io.h' file not found
#include <sys/io.h>
^~~~~~~~~~
1 error generated.
emcc: error: '/opt/emscripten-llvm/bin/clang++ -target wasm32-unknown-emscripten -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -DEMSCRIPTEN -I/home/bonii/.emscripten_cache/sysroot/include/SDL --sysroot=/home/bonii/.emscripten_cache/sysroot -Xclang -iwithsysroot/include/compat lib/RakNet/Source/FileList.cpp -c -o /tmp/emscripten_temp_krrz_u5e/FileList_29.o' failed (returned 1)