aports/testing/chromium/chromium-webrtc.patch

11 lines
370 B
Diff

--- chromium-17.0.942.0.orig/third_party/webrtc/system_wrappers/source/cpu_info.cc
+++ chromium-17.0.942.0/third_party/webrtc/system_wrappers/source/cpu_info.cc
@@ -20,6 +20,7 @@
#elif defined(WEBRTC_ANDROID)
// Not implemented yet, might be possible to use Linux implementation
#else // defined(WEBRTC_LINUX)
+#include <unistd.h>
#include <sys/sysinfo.h>
#endif