diff options
Diffstat (limited to 'src/nginext/nxt_go_port_memory.h')
-rw-r--r-- | src/nginext/nxt_go_port_memory.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nginext/nxt_go_port_memory.h b/src/nginext/nxt_go_port_memory.h index 0a1644ef..ca0cc967 100644 --- a/src/nginext/nxt_go_port_memory.h +++ b/src/nginext/nxt_go_port_memory.h @@ -12,7 +12,11 @@ #include <nxt_port_memory_int.h> typedef struct nxt_port_mmap_header_s nxt_port_mmap_header_t; -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 nxt_port_mmap_header_t * nxt_go_port_mmap_get(nxt_go_process_t *process, nxt_port_id_t port_id, |