Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

musl libc: error: 'timeval' #53

Open
acoul opened this issue Dec 8, 2017 · 1 comment
Open

musl libc: error: 'timeval' #53

acoul opened this issue Dec 8, 2017 · 1 comment

Comments

@acoul
Copy link

acoul commented Dec 8, 2017

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: tjanczuk#612

@finnoleary
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants