Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'auto/os/conf')
-rw-r--r--auto/os/conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/auto/os/conf b/auto/os/conf
index 71a143df7..737519938 100644
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -123,4 +123,15 @@ if [ $NGX_PLATFORM != win32 ]; then
. auto/feature
fi
fi
+
+ if [ NGX_SYSTEM != "NetBSD" ]; then
+
+ # NetBSD 2.0 incompatibly defines kevent.udata as "intptr_t"
+ cat << END >> $NGX_AUTO_CONFIG_H
+
+#define NGX_KQUEUE_UDATA_T (void *)
+
+END
+
+ fi
fi