1
0
Fork 0
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:
Xorg 2016-09-22 15:32:08 +02:00
parent 240d1c2e1e
commit 4b4b49b288

View file

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