Skip to content

Commit

Permalink
Fix incorrect include order. Hope it fixes #229
Browse files Browse the repository at this point in the history
  • Loading branch information
yyamano committed Nov 18, 2016
1 parent d4d556c commit 676d7fb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/http/ngx_http_mruby_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
// See Copyright Notice in ngx_http_mruby_module.c
*/

#include <nginx.h>
#include <ngx_core.h>
#include <ngx_buf.h>
#include <ngx_conf_file.h>
#include <ngx_http.h>
#include <ngx_log.h>

#include "ngx_http_mruby_core.h"
#include "ngx_http_mruby_module.h"
#include "ngx_http_mruby_request.h"
Expand All @@ -16,12 +23,6 @@
#include "mruby/string.h"
#include "mruby/variable.h"

#include <nginx.h>
#include <ngx_buf.h>
#include <ngx_conf_file.h>
#include <ngx_http.h>
#include <ngx_log.h>

ngx_module_t ngx_http_mruby_module;

void ngx_mrb_raise_error(mrb_state *mrb, mrb_value obj, ngx_http_request_t *r)
Expand Down

0 comments on commit 676d7fb

Please sign in to comment.