diff options
author | Brad King <brad.king@kitware.com> | 2019-08-27 14:11:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-27 14:11:37 (GMT) |
commit | 1d68639654738f74f7a971ce49d8cd291fd426c6 (patch) | |
tree | 17b84bed5a8f53fafb8c21757204f2ab0143182d /Source | |
parent | 6157c0fe84279f489ef0b458815480d6cc3736da (diff) | |
parent | 1902e39746ba2aaaa3ef1918e3b14d96023966df (diff) | |
download | CMake-1d68639654738f74f7a971ce49d8cd291fd426c6.zip CMake-1d68639654738f74f7a971ce49d8cd291fd426c6.tar.gz CMake-1d68639654738f74f7a971ce49d8cd291fd426c6.tar.bz2 |
Merge branch 'alpine-cpu_zero' into release-3.15
Merge-request: !3740
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmAffinity.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmAffinity.cxx b/Source/cmAffinity.cxx index 588b2f2..09b0298 100644 --- a/Source/cmAffinity.cxx +++ b/Source/cmAffinity.cxx @@ -12,6 +12,8 @@ # define CM_HAVE_CPU_AFFINITY # include <pthread.h> # include <sched.h> +// On some platforms CPU_ZERO needs memset but sched.h forgets string.h +# include <string.h> // IWYU pragma: keep # if defined(__FreeBSD__) # include <pthread_np.h> # include <sys/cpuset.h> |