aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_posix_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_posix_config.h')
-rw-r--r--src/os/unix/ngx_posix_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h
index bf75997f6..5d1358e24 100644
--- a/src/os/unix/ngx_posix_config.h
+++ b/src/os/unix/ngx_posix_config.h
@@ -128,7 +128,7 @@
#endif
-#if (NGX_HAVE_DEVPOLL)
+#if (NGX_HAVE_DEVPOLL) && !(NGX_TEST_BUILD_DEVPOLL)
#include <sys/ioctl.h>
#include <sys/devpoll.h>
#endif