Skip to content

Commit

Permalink
Merge pull request #98 from lparkes/master
Browse files Browse the repository at this point in the history
Removed the #include of com_err.h because it wasn't used and add NetBSD support
  • Loading branch information
stnoonan authored Apr 16, 2020
2 parents 2671798 + 49dfbfb commit 72c8ee0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ if uname -o | grep -q FreeBSD; then
ngx_feature_libs="$ngx_feature_libs -lgssapi"
fi

if uname -a | grep -q NetBSD; then
ngx_feature_libs="-lgssapi -lkrb5 -lcom_err"
fi

if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_auth_spnego_module
Expand Down
1 change: 0 additions & 1 deletion ngx_http_auth_spnego_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_krb5.h>
#include <krb5.h>
#include <com_err.h>

#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))

Expand Down

0 comments on commit 72c8ee0

Please sign in to comment.