aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_mesa_BUILD.gn
blob: 2e534118fc1fa356f3c0b51c8d4a821617932243 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- third_party/mesa/BUILD.gn.orig	2017-06-05 19:03:28 UTC
+++ third_party/mesa/BUILD.gn
@@ -90,6 +90,10 @@ config("mesa_internal_config") {
     defines += [ "_GNU_SOURCE" ]
   }
 
+  if (is_bsd) {
+    defines += [ "_BSD_SOURCE" ]
+  }
+
   if (is_win) {
     defines += [
       # Generated files use const only if __cplusplus or __STDC__ is defined.