diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-08-30 12:08:29 -0700 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-08-30 12:08:29 -0700 |
commit | d3f19d98cae610a9ddec9af5421f8af7c6663d9c (patch) | |
tree | 25e34138facb922f5162c478750fccc868337eeb /src/nginext/nxt_go_run_ctx.h | |
parent | a33145d614e9ea1d0c59cf219f50e36f879aa5bb (diff) | |
download | unit-d3f19d98cae610a9ddec9af5421f8af7c6663d9c.tar.gz unit-d3f19d98cae610a9ddec9af5421f8af7c6663d9c.tar.bz2 |
Avoid nxt_go_process_t redefinition warning.
Diffstat (limited to 'src/nginext/nxt_go_run_ctx.h')
-rw-r--r-- | src/nginext/nxt_go_run_ctx.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nginext/nxt_go_run_ctx.h b/src/nginext/nxt_go_run_ctx.h index 62f6b133..a5a972c6 100644 --- a/src/nginext/nxt_go_run_ctx.h +++ b/src/nginext/nxt_go_run_ctx.h @@ -12,8 +12,10 @@ #include <nxt_application.h> #include <nxt_port_memory_int.h> - -typedef struct nxt_go_process_s nxt_go_process_t; +#ifndef _NXT_GO_PROCESS_T_DEFINED_ +#define _NXT_GO_PROCESS_T_DEFINED_ +typedef struct nxt_go_process_s nxt_go_process_t; +#endif typedef struct nxt_go_msg_s nxt_go_msg_t; |