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 2070ad2.

deps: fix call to undeclared functions 'ntohl' and 'htons'
PR-URL: #49979
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
  • Loading branch information
MatteoBax authored and targos committed Oct 27, 2023
1 parent f228dc7 commit df1ff8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 df1ff8e

Please sign in to comment.