diff --git a/deps/ngtcp2/ngtcp2.gyp b/deps/ngtcp2/ngtcp2.gyp index 08de0fca86..608735e845 100644 --- a/deps/ngtcp2/ngtcp2.gyp +++ b/deps/ngtcp2/ngtcp2.gyp @@ -125,7 +125,7 @@ }, }, }], - ['OS=="linux" or OS=="android"', { + ['OS=="linux" or OS=="android" or OS=="openharmony"', { 'defines': [ 'HAVE_ARPA_INET_H', 'HAVE_NETINET_IN_H', @@ -207,7 +207,7 @@ ['OS!="win"', { 'defines': ['HAVE_UNISTD_H'] }], - ['OS=="linux" or OS=="android"', { + ['OS=="linux" or OS=="android" or OS=="openharmony"', { 'defines': [ 'HAVE_ARPA_INET_H', 'HAVE_NETINET_IN_H',