electron-edge icon indicating copy to clipboard operation
electron-edge copied to clipboard

musl libc: error: 'timeval'

Open acoul opened this issue 8 years ago • 1 comments

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

acoul avatar Dec 08 '17 17:12 acoul

Shouldn't that be const struct timeval &time? If so, it should be fixed with a trivial header that does: typedef struct timeval timeval;

finnoleary avatar Feb 06 '18 07:02 finnoleary