compile fix for get_nprocs() with uClibc

BUG=

Review URL: https://webrtc-codereview.appspot.com/1150006
Patch from Mostyn Bramley-Moore <mostynb@opera.com>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3598 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org 2013-03-04 15:09:03 +00:00
parent 44f85a49d8
commit 17b867ae00
2 changed files with 2 additions and 0 deletions

View File

@ -10,3 +10,4 @@ Ben Strong <bstrong@gmail.com>
Martin Storsjo <martin@martin.st>
Jie Mao <maojie0924@gmail.com>
Anil Kumar <an1kumar@gmail.com>
Opera Software ASA

View File

@ -18,6 +18,7 @@
#elif defined(WEBRTC_ANDROID)
// Not implemented yet, might be possible to use Linux implementation
#else // defined(WEBRTC_LINUX)
#include <unistd.h> // required for get_nprocs() with uClibc
#include <sys/sysinfo.h>
#endif