Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deps/nghttp3/nghttp3.gyp5
-rw-r--r--deps/ngtcp2/ngtcp2.gyp6
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' ],