diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-10-11 06:50:54 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-10-11 06:50:54 -0700 |
| commit | 2f24a1b1c93b8c45dce391ed0439131f9ad8cf28 (patch) | |
| tree | 51065064cec7f35b900291fb2a101b7dbe3b6826 /src/core/init.c | |
| parent | b98e03b26bfc593326bd7c1d56fd69626f6a93cb (diff) | |
| download | nng-2f24a1b1c93b8c45dce391ed0439131f9ad8cf28.tar.gz nng-2f24a1b1c93b8c45dce391ed0439131f9ad8cf28.tar.bz2 nng-2f24a1b1c93b8c45dce391ed0439131f9ad8cf28.zip | |
fix includes for core
Diffstat (limited to 'src/core/init.c')
| -rw-r--r-- | src/core/init.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/core/init.c b/src/core/init.c index 2e776daa..77fb4e60 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -8,12 +8,11 @@ // found online at https://opensource.org/licenses/MIT. // -#include "core/nng_impl.h" -#include "core/platform.h" -#include "core/socket.h" -#include "nng/nng.h" +#include "defs.h" +#include "nng_impl.h" +#include "platform.h" +#include "socket.h" -#include <stdbool.h> #include <stdio.h> #include <stdlib.h> @@ -32,6 +31,10 @@ extern void nni_tls_sys_fini(void); #define NNG_NUM_POLLER_THREADS (nni_plat_ncpu()) #endif +#ifndef NNG_MAX_POLLER_THREADS +#define NNG_MAX_POLLER_THREADS 8 +#endif + #ifndef NNG_RESOLV_CONCURRENCY #define NNG_RESOLV_CONCURRENCY 1 #endif |
