Skip to content
Snippets Groups Projects
Commit 4a400147 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'alpine-cpu_zero'


1902e397 cmAffinity: Add include for CPU_ZERO on Alpine Linux

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3740
parents 297df45d 1902e397
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment