Solaris doesn't have <sys/sysctl.h>.
This commit is contained in:
parent
6fc88331d6
commit
4aafcadbd2
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
/*
|
||||
* Copyright 2010 Jeff Garzik, 2012 pooler
|
||||
*
|
||||
|
@ -21,6 +20,8 @@
|
|||
#include <time.h>
|
||||
#if defined(WIN32) || defined(WIN64)
|
||||
#include <windows.h>
|
||||
#elif defined(sun) || defined(__sun)
|
||||
#include <sys/resource.h>
|
||||
#else
|
||||
#include <sys/resource.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
|
Loading…
Reference in a new issue