Skip to content

unix: move net/if.h include - #1622

Merged
cjihrig merged 1 commit into
libuv:v1.xfrom
cjihrig:include
Nov 9, 2017
Merged

unix: move net/if.h include#1622
cjihrig merged 1 commit into
libuv:v1.xfrom
cjihrig:include

Conversation

@cjihrig

@cjihrig cjihrig commented Nov 8, 2017

Copy link
Copy Markdown
Contributor

This commit moves the net/if.h include into src/getaddrinfo.c to prevent AIX compilation errors. With these symbols exposed publicly, Node.js compilation failed on AIX by exposing Free(), which conflicts with another API.

Refs: nodejs/node#16835
Refs: #1445

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/564/

This commit moves the net/if.h include into src/getaddrinfo.c to
prevent AIX compilation errors. With these symbols exposed
publicly, Node.js compilation failed on AIX by exposing Free(),
which conflicts with another API.

Refs: nodejs/node#16835
Refs: libuv#1445
PR-URL: libuv#1622
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@cjihrig
cjihrig merged commit c83f8b9 into libuv:v1.x Nov 9, 2017
@cjihrig
cjihrig deleted the include branch November 9, 2017 13:45
@cjihrig cjihrig mentioned this pull request Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants