mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 13:03:31 +00:00
12 lines
223 B
Diff
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)
|