summaryrefslogtreecommitdiffhomepage
path: root/src/nginext/nxt_go_process.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-08-30 12:08:29 -0700
committerMax Romanov <max.romanov@nginx.com>2017-08-30 12:08:29 -0700
commitd3f19d98cae610a9ddec9af5421f8af7c6663d9c (patch)
tree25e34138facb922f5162c478750fccc868337eeb /src/nginext/nxt_go_process.h
parenta33145d614e9ea1d0c59cf219f50e36f879aa5bb (diff)
downloadunit-d3f19d98cae610a9ddec9af5421f8af7c6663d9c.tar.gz
unit-d3f19d98cae610a9ddec9af5421f8af7c6663d9c.tar.bz2
Avoid nxt_go_process_t redefinition warning.
Diffstat (limited to 'src/nginext/nxt_go_process.h')
-rw-r--r--src/nginext/nxt_go_process.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nginext/nxt_go_process.h b/src/nginext/nxt_go_process.h
index 5e31fa6e..037844ce 100644
--- a/src/nginext/nxt_go_process.h
+++ b/src/nginext/nxt_go_process.h
@@ -11,7 +11,10 @@
#include <nxt_main.h>
#include "nxt_go_mutex.h"
+#ifndef _NXT_GO_PROCESS_T_DEFINED_
+#define _NXT_GO_PROCESS_T_DEFINED_
typedef struct nxt_go_process_s nxt_go_process_t;
+#endif
struct nxt_go_process_s {
nxt_pid_t pid;