Solaris doesn't have <sys/sysctl.h>.

This commit is contained in:
pontius 2012-03-01 09:09:23 +01:00
parent 6fc88331d6
commit 4aafcadbd2

View file

@ -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>