Skip to content

Commit

Permalink
Merge pull request #2 from jaygooby/fix-nginx_upstream_check_module-c…
Browse files Browse the repository at this point in the history
…ompile-error

Fixes implicit declaration of function ngx_http_upstream_check_add_peer
  • Loading branch information
itoffshore authored Oct 3, 2017
2 parents 74506df + 31f6622 commit 4a006b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ngx_http_upstream_fair_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#if (NGX_HTTP_UPSTREAM_CHECK)
#include "ngx_http_upstream_check_module.h"
#endif

typedef struct {
ngx_uint_t nreq;
Expand Down

0 comments on commit 4a006b8

Please sign in to comment.