Files
termux-packages/packages/nginx/src-os-unix-ngx_setaffinity.h.patch
2024-10-16 13:42:01 +00:00

12 lines
223 B
Diff

--- a/src/os/unix/ngx_setaffinity.h
+++ b/src/os/unix/ngx_setaffinity.h
@@ -13,6 +13,8 @@
#if (NGX_HAVE_SCHED_SETAFFINITY)
+#include <sched.h>
+
typedef cpu_set_t ngx_cpuset_t;
#elif (NGX_HAVE_CPUSET_SETAFFINITY)