Skip to content

Commit

Permalink
Move ia2.h includes to avoid issues with defines
Browse files Browse the repository at this point in the history
  • Loading branch information
rinon committed Oct 17, 2023
1 parent 67eaa0e commit 468a77d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion external/nginx/src/core/ngx_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
#define _NGX_STRING_H_INCLUDED_


#include <ia2.h>
#include <ngx_config.h>
#include <ngx_core.h>

#include <ia2.h>

IA2_BEGIN_NO_WRAP

typedef struct {
Expand Down
3 changes: 2 additions & 1 deletion external/nginx/src/os/unix/ngx_alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
#define _NGX_ALLOC_H_INCLUDED_


#include <ia2.h>
#include <ngx_config.h>
#include <ngx_core.h>

#include <ia2.h>

IA2_BEGIN_NO_WRAP

void *ngx_alloc_ext(size_t size, ngx_log_t *log, unsigned is_shared);
Expand Down

0 comments on commit 468a77d

Please sign in to comment.