From b6cb6a9f2b036521cb6c1fe8b48cac39acecc4f5 Mon Sep 17 00:00:00 2001 From: MatteoBax <98881971+MatteoBax@users.noreply.github.com> Date: Sat, 30 Sep 2023 14:23:21 +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' --- 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',