mirror of
https://github.com/anrieff/libcpuid
synced 2024-11-10 22:59:13 +00:00
Fix build on GhostBSD 10.3
This commit is contained in:
parent
240d1c2e1e
commit
4b4b49b288
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ static int get_total_cpus(void)
|
|||
#endif
|
||||
|
||||
#if defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || defined __bsdi__ || defined __QNX__
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
static int get_total_cpus(void)
|
||||
|
|
Loading…
Reference in a new issue