>> I've been trying to get musl compatability patches for libuv merged >> upstream, and I have it building, but there's one sticking point: >> Upstream insists on using --std=c89 (I guess for portability to other >> platforms). >> This makes GCC choke on "long" in . > I tried fixing it, and ended up finding that the issue was the "static > inline" in the header. > > For future reference: > sed -e 's/static inline/#if __STDC_VERSION__ >= > 199901L\ninline\n#endif\nstatic/g' -i > is what I used. > > HTH, > Isaac Dunham I grepped and found that there were three other headers in each arch that shared the same problem. Here's the patch. Isaac Dunham