diff options
Diffstat (limited to 'auto/os')
-rw-r--r-- | auto/os/conf | 11 | ||||
-rw-r--r-- | auto/os/freebsd | 1 |
2 files changed, 12 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 diff --git a/auto/os/freebsd b/auto/os/freebsd index e35b933af..dfb547f3b 100644 --- a/auto/os/freebsd +++ b/auto/os/freebsd @@ -64,6 +64,7 @@ then EVENT_FOUND=YES fi + NGX_KQUEUE_CHECKED=YES |