diff --git a/deps/uvwasi/uvwasi.gyp b/deps/uvwasi/uvwasi.gyp index c07b07b608b724..21ac35cdfc11ad 100644 --- a/deps/uvwasi/uvwasi.gyp +++ b/deps/uvwasi/uvwasi.gyp @@ -20,6 +20,14 @@ 'direct_dependent_settings': { 'include_dirs': ['include'] }, + 'conditions': [ + [ 'OS=="linux"', { + 'defines': [ + '_GNU_SOURCE', + '_POSIX_C_SOURCE=200112', + ], + }], + ], } ] }