From 84b4378acb4a31cb86ad2356e33c23c2dd0febb6 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Thu, 14 Apr 2016 14:27:13 +0200 Subject: [PATCH] none --- src/utils/cpuconf.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/utils/cpuconf.cpp b/src/utils/cpuconf.cpp index e17674e5..e72700ed 100644 --- a/src/utils/cpuconf.cpp +++ b/src/utils/cpuconf.cpp @@ -44,6 +44,14 @@ bool getCpuConf(CpuConf& conf) } #elif defined(__FreeBSD__) + +#include +#include "execmd.h" +#include "smallut.h" + +using std::string; +using std::vector; + bool getCpuConf(CpuConf& conf) { vector cmdv = create_vector("sysctl")("hw.ncpu");