Index: third_party/boringssl/boringssl_dart.gyp |
diff --git a/third_party/boringssl/boringssl_dart.gyp b/third_party/boringssl/boringssl_dart.gyp |
index 1dc460f690299cc6a7995a7fc5cc41fe904e0bd1..ebb2581bdddb7c42d9ae21b70735a6dbf015496d 100644 |
--- a/third_party/boringssl/boringssl_dart.gyp |
+++ b/third_party/boringssl/boringssl_dart.gyp |
@@ -41,6 +41,10 @@ |
'<@(boringssl_linux_arm_sources)', |
'<@(boringssl_linux_aarch64_sources)', |
], |
+ 'defines': [ |
+ '_BSD_SOURCE', |
+ '_XOPEN_SOURCE=700', |
+ ], |
}], |
['OS == "win"', { |
'defines': [ 'OPENSSL_NO_ASM', 'WIN32_LEAN_AND_MEAN' ], |