diff options
-rw-r--r-- | deps/nghttp3/nghttp3.gyp | 5 | ||||
-rw-r--r-- | deps/ngtcp2/ngtcp2.gyp | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/deps/nghttp3/nghttp3.gyp b/deps/nghttp3/nghttp3.gyp index 3421ba7cf60..45904427bb1 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 1da2cba93dc..f86dcc5693e 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' ], |