Skip to content

Commit

Permalink
deps: fix call to undeclared functions 'ntohl' and 'htons'
Browse files Browse the repository at this point in the history
This reverts commit 2070ad27a5fc674909f4bbd34e7d862c625fc54b.

deps: fix call to undeclared functions 'ntohl' and 'htons'
PR-URL: nodejs/node#49979
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Richard Lau <rlau@redhat.com>
  • Loading branch information
sercher committed Apr 25, 2024
1 parent 2334070 commit 080857c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graal-nodejs/deps/ngtcp2/ngtcp2.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
},
},
}],
['OS=="linux"', {
['OS=="linux" or OS=="android"', {
'defines': [
'HAVE_ARPA_INET_H',
'HAVE_NETINET_IN_H',
Expand Down Expand Up @@ -162,7 +162,7 @@
},
},
}],
['OS=="linux"', {
['OS=="linux" or OS=="android"', {
'defines': [
'HAVE_ARPA_INET_H',
'HAVE_NETINET_IN_H',
Expand Down

0 comments on commit 080857c

Please sign in to comment.