aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__posix.cc')
-rw-r--r--www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__posix.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__posix.cc b/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__posix.cc
new file mode 100644
index 000000000000..1ece795a1e4e
--- /dev/null
+++ b/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__posix.cc
@@ -0,0 +1,14 @@
+--- third_party/webrtc/system_wrappers/source/atomic32_posix.cc.orig 2016-05-11 19:04:03 UTC
++++ third_party/webrtc/system_wrappers/source/atomic32_posix.cc
+@@ -12,7 +12,11 @@
+
+ #include <assert.h>
+ #include <inttypes.h>
++#if defined(WEBRTC_BSD)
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+
+ #include "webrtc/common_types.h"
+