summaryrefslogtreecommitdiff
blob: 1c95f6b7c2d5fe9a83e0befdc97d8b3c1d78fefc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- a/src/mongrel2.c
+++ b/src/mongrel2.c
@@ -55,6 +55,7 @@
 #include "logrotate.h"
 #include "register.h"
 
+extern char *m2program;
 extern int RUNNING;
 extern uint32_t THE_CURRENT_TIME_IS;
 int RELOAD = 0;
--- a/src/unixy.h
+++ b/src/unixy.h
@@ -38,7 +38,7 @@
 #include <bstring.h>
 #include <unistd.h>
 
-char *m2program;
+extern char *m2program;
 
 int Unixy_chroot(bstring path);
 
--- a/tools/procer/procer.c
+++ b/tools/procer/procer.c
@@ -9,6 +9,7 @@
 #include <sys/wait.h>
 #include <sys/stat.h>
 
+extern char *m2program;
 extern char **environ;
 
 static int RUNNING = 1;