From 34c7eb0eb22f93186b01a76659734d6719a17c0a Mon Sep 17 00:00:00 2001 From: MatteoBax <98881971+MatteoBax@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:44:16 +0200 Subject: [PATCH] deps: fix call to undeclared functions 'ntohl' and 'htons' This reverts commit 2070ad27a5fc674909f4bbd34e7d862c625fc54b. deps: fix call to undeclared functions 'ntohl' and 'htons' PR-URL: https://github.com/nodejs/node/pull/49979 Reviewed-By: Ben Noordhuis Reviewed-By: Richard Lau --- deps/ngtcp2/ngtcp2.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/ngtcp2/ngtcp2.gyp b/deps/ngtcp2/ngtcp2.gyp index a47a791610e86a..e53b7f61ea387b 100644 --- a/deps/ngtcp2/ngtcp2.gyp +++ b/deps/ngtcp2/ngtcp2.gyp @@ -112,7 +112,7 @@ }, }, }], - ['OS=="linux"', { + ['OS=="linux" or OS=="android"', { 'defines': [ 'HAVE_ARPA_INET_H', 'HAVE_NETINET_IN_H', @@ -162,7 +162,7 @@ }, }, }], - ['OS=="linux"', { + ['OS=="linux" or OS=="android"', { 'defines': [ 'HAVE_ARPA_INET_H', 'HAVE_NETINET_IN_H',