summaryrefslogtreecommitdiffhomepage
path: root/src/nginext/nxt_go_run_ctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nginext/nxt_go_run_ctx.h')
-rw-r--r--src/nginext/nxt_go_run_ctx.h6
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;