summaryrefslogtreecommitdiffstats
path: root/0001-fix-cpu-affinity-check.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-fix-cpu-affinity-check.patch')
-rw-r--r--0001-fix-cpu-affinity-check.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/0001-fix-cpu-affinity-check.patch b/0001-fix-cpu-affinity-check.patch
new file mode 100644
index 0000000..58c4370
--- /dev/null
+++ b/0001-fix-cpu-affinity-check.patch
@@ -0,0 +1,24 @@
+From 5630753cba195133a741d6f768143e40ff7454f6 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 16 Dec 2024 09:28:53 +0100
+Subject: [PATCH] fix cpu affinity check
+
+---
+ config.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/config.m4 b/config.m4
+index ada2e983b..701eaa569 100644
+--- a/config.m4
++++ b/config.m4
+@@ -183,6 +183,7 @@ AC_DEFUN([AC_SWOOLE_CPU_AFFINITY],
+ #include <sys/cpuset.h>
+ typedef cpuset_t cpu_set_t;
+ #else
++ #define _GNU_SOURCE 1
+ #include <sched.h>
+ #endif
+ ]], [[
+--
+2.47.1
+