зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1220407 - include sys/resource.h for struct rusage and getrusage() on all unices, not linux only. r=yoric
This commit is contained in:
Родитель
dbee79bdd5
Коммит
12489bbca0
|
@ -41,12 +41,10 @@
|
|||
#include <mach/mach_types.h>
|
||||
#include <mach/message.h>
|
||||
#include <mach/thread_info.h>
|
||||
#endif // defined(XP_MACOSX)
|
||||
|
||||
#if defined(XP_LINUX)
|
||||
#elif defined(XP_UNIX)
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#endif // defined(XP_LINUX)
|
||||
#endif // defined(XP_UNIX)
|
||||
/* ------------------------------------------------------
|
||||
*
|
||||
* Utility functions.
|
||||
|
|
Загрузка…
Ссылка в новой задаче