0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 13:03:31 +00:00
termux-packages/packages/nginx/src-os-unix-ngx_setaffinity.h.patch
2024-10-16 21:18:57 +08: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)