summaryrefslogtreecommitdiffstats
path: root/Source/cmAffinity.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmAffinity.cxx')
-rw-r--r--Source/cmAffinity.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAffinity.cxx b/Source/cmAffinity.cxx
index a6d89aa..33768a9 100644
--- a/Source/cmAffinity.cxx
+++ b/Source/cmAffinity.cxx
@@ -13,7 +13,7 @@
# 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
+# include <cstring> // IWYU pragma: keep
# if defined(__FreeBSD__)
# include <pthread_np.h>
# include <sys/cpuset.h>