electron-edge
electron-edge copied to clipboard
musl libc: error: 'timeval'
Greetings,
On Void-linux musl-x86_64 when trying to npm install electron-edge-js I am getting the following error:
./src/CoreCLREmbedding/json/casablanca/include/cpprest/asyncrt_utils.h:496:47: error: 'timeval' does not name a type; did you mean 'timegm'? static datetime timeval_to_datetime(const timeval &time); ^~~~~~~ timegm`
the same issue exists on edge too: https://github.com/tjanczuk/edge/issues/612
Shouldn't that be const struct timeval &time? If so, it should be fixed with a trivial header that does: typedef struct timeval timeval;