Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-20 23:11:49 +0300
committerJunio C Hamano <gitster@pobox.com>2015-03-20 23:11:49 +0300
commit551fc7aec1a7efe868a59fbeea14582b41923f4d (patch)
treed61c1f84583a496e2a4276c840fe4a8b867f9487 /git-compat-util.h
parentec0465ade87996214959a393239eec520daf92ea (diff)
parenta25b5a32c76630f2433b860fef7bc28a9380a8f6 (diff)
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
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index fbfd10dadc..bc8fc8cf85 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -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 */