Merge branch 'km/bsd-sysctl'

We now detect number of CPUs on older BSD-derived systems.

* km/bsd-sysctl:
  thread-utils.c: detect CPU count on older BSD-like systems
  configure: support HAVE_BSD_SYSCTL option
This commit is contained in:
Junio C Hamano
2015-03-20 13:11:49 -07:00
5 changed files with 54 additions and 1 deletions

View File

@ -127,6 +127,9 @@
#else
#include <poll.h>
#endif
#ifdef HAVE_BSD_SYSCTL
#include <sys/sysctl.h>
#endif
#if defined(__MINGW32__)
/* pull in Windows compatibility stuff */