aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_modules.c')
-rw-r--r--src/core/ngx_modules.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/ngx_modules.c b/src/core/ngx_modules.c
index db6cf7351..5e5f5a8bd 100644
--- a/src/core/ngx_modules.c
+++ b/src/core/ngx_modules.c
@@ -8,9 +8,15 @@ extern ngx_module_t ngx_events_module;
extern ngx_module_t ngx_event_module;
extern ngx_module_t ngx_select_module;
+#if (HAVE_POLL)
+extern ngx_module_t ngx_poll_module;
+#endif
#if (HAVE_KQUEUE)
extern ngx_module_t ngx_kqueue_module;
#endif
+#if (HAVE_DEVPOLL)
+extern ngx_module_t ngx_devpoll_module;
+#endif
extern ngx_module_t ngx_http_module;
@@ -32,9 +38,15 @@ ngx_module_t *ngx_modules[] = {
&ngx_event_module,
&ngx_select_module,
+#if (HAVE_POLL)
+ &ngx_poll_module,
+#endif
#if (HAVE_KQUEUE)
&ngx_kqueue_module,
#endif
+#if (HAVE_DEVPOLL)
+ &ngx_devpoll_module,
+#endif
/* http */