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'
  • Loading branch information
MatteoBax committed Sep 30, 2023
1 parent 51f4ff2 commit b6cb6a9
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 b6cb6a9

Please sign in to comment.