$OpenBSD: patch-src_config_hardware_stats_cpp,v 1.1 2017/11/27 15:45:19 pascal Exp $

Index: src/config/hardware_stats.cpp
--- src/config/hardware_stats.cpp.orig
+++ src/config/hardware_stats.cpp
@@ -102,7 +102,7 @@ int getRAM()
  */
 int getNumProcessors()
 {
-#if defined(__linux__) || defined(__CYGWIN__)
+#if defined(__linux__) || defined(__CYGWIN__) || defined(__OpenBSD__)
     return sysconf(_SC_NPROCESSORS_CONF);
 #endif
 #ifdef WIN32
