diff --git a/deps/nghttp3/nghttp3.gyp b/deps/nghttp3/nghttp3.gyp index 3421ba7cf60b15..45904427bb1786 100644 --- a/deps/nghttp3/nghttp3.gyp +++ b/deps/nghttp3/nghttp3.gyp @@ -26,6 +26,11 @@ }, }, }], + ['OS=="linux"', { + 'defines': [ + 'HAVE_ARPA_INET_H', + ], + }], ], 'direct_dependent_settings': { 'defines': [ 'NGHTTP3_STATICLIB' ], diff --git a/deps/ngtcp2/ngtcp2.gyp b/deps/ngtcp2/ngtcp2.gyp index 1da2cba93dc19d..f86dcc5693e98a 100644 --- a/deps/ngtcp2/ngtcp2.gyp +++ b/deps/ngtcp2/ngtcp2.gyp @@ -33,6 +33,12 @@ }, }, }], + ['OS=="linux"', { + 'defines': [ + 'HAVE_ARPA_INET_H', + 'HAVE_NETINET_IN_H', + ], + }], ], 'direct_dependent_settings': { 'defines': [ 'NGTCP2_STATICLIB' ],