aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_process.h')
-rw-r--r--src/os/unix/ngx_process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h
index 7b5e8c0c2..3986639b4 100644
--- a/src/os/unix/ngx_process.h
+++ b/src/os/unix/ngx_process.h
@@ -54,6 +54,7 @@ typedef struct {
#define ngx_getpid getpid
+#define ngx_getppid getppid
#ifndef ngx_log_pid
#define ngx_log_pid ngx_pid
@@ -79,6 +80,7 @@ extern char **ngx_argv;
extern char **ngx_os_argv;
extern ngx_pid_t ngx_pid;
+extern ngx_pid_t ngx_parent;
extern ngx_socket_t ngx_channel;
extern ngx_int_t ngx_process_slot;
extern ngx_int_t ngx_last_process;