ports/lang/mono5.20/files/patch-mono_utils_mono-proclib.c
Cy Schubert 6017a183af lang/mono5.20: Fix build on current with _WITH_CPU_SET_T
Fix the same error as lang/mono.

MFH after:	3 days
2021-11-29 12:55:18 -08:00

10 lines
270 B
C

--- mono/utils/mono-proclib.c.orig 2018-08-24 08:17:13.000000000 -0700
+++ mono/utils/mono-proclib.c 2021-11-27 14:55:20.354869000 -0800
@@ -17,6 +17,7 @@
#include <unistd.h>
#endif
#ifdef HAVE_SCHED_GETAFFINITY
+#define _WITH_CPU_SET_T
#include <sched.h>
#endif