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 <info@bnoordhuis.nl>
Reviewed-By: Richard Lau <rlau@redhat.com>
  • Loading branch information
MatteoBax committed Oct 2, 2023
1 parent 85c09f1 commit 61411bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/ngtcp2/ngtcp2.gyp
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 61411bb

Please sign in to comment.