From 17b867ae00c9e344b5ee61ad1e22e98e57f9ad8b Mon Sep 17 00:00:00 2001 From: "phoglund@webrtc.org" Date: Mon, 4 Mar 2013 15:09:03 +0000 Subject: [PATCH] compile fix for get_nprocs() with uClibc BUG= Review URL: https://webrtc-codereview.appspot.com/1150006 Patch from Mostyn Bramley-Moore . git-svn-id: http://webrtc.googlecode.com/svn/trunk@3598 4adac7df-926f-26a2-2b94-8c16560cd09d --- AUTHORS | 1 + webrtc/system_wrappers/source/cpu_info.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS b/AUTHORS index 349d58f886..6f83529335 100644 --- a/AUTHORS +++ b/AUTHORS @@ -10,3 +10,4 @@ Ben Strong Martin Storsjo Jie Mao Anil Kumar +Opera Software ASA diff --git a/webrtc/system_wrappers/source/cpu_info.cc b/webrtc/system_wrappers/source/cpu_info.cc index dc00700081..9bed35cac8 100644 --- a/webrtc/system_wrappers/source/cpu_info.cc +++ b/webrtc/system_wrappers/source/cpu_info.cc @@ -18,6 +18,7 @@ #elif defined(WEBRTC_ANDROID) // Not implemented yet, might be possible to use Linux implementation #else // defined(WEBRTC_LINUX) +#include // required for get_nprocs() with uClibc #include #endif