threads: test for sys/param.h and include it for sysctl on OpenBSD

This commit is contained in:
Janne Grunau
2011-12-24 00:23:55 +01:00
parent 1adba23cec
commit 06bb590558
2 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,9 @@
#elif HAVE_GETSYSTEMINFO
#include <windows.h>
#elif HAVE_SYSCTL
#if HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#include <sys/types.h>
#include <sys/sysctl.h>
#endif