Skip to content

Commit df1ff8e

Browse files
MatteoBaxtargos
authored andcommitted
deps: fix call to undeclared functions 'ntohl' and 'htons'
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]>
1 parent f228dc7 commit df1ff8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/ngtcp2/ngtcp2.gyp

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
},
113113
},
114114
}],
115-
['OS=="linux"', {
115+
['OS=="linux" or OS=="android"', {
116116
'defines': [
117117
'HAVE_ARPA_INET_H',
118118
'HAVE_NETINET_IN_H',
@@ -162,7 +162,7 @@
162162
},
163163
},
164164
}],
165-
['OS=="linux"', {
165+
['OS=="linux" or OS=="android"', {
166166
'defines': [
167167
'HAVE_ARPA_INET_H',
168168
'HAVE_NETINET_IN_H',

0 commit comments

Comments
 (0)