mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-22 18:27:02 +00:00
Fix #96
This commit is contained in:
parent
dc0945afb8
commit
77b9afda27
2 changed files with 6 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -66,7 +66,6 @@ mandir = $(datadir)/man
|
|||
OBJ = proxytunnel.o \
|
||||
base64.o \
|
||||
strzcat.o \
|
||||
setproctitle.o \
|
||||
io.o \
|
||||
http.o \
|
||||
basicauth.o \
|
||||
|
|
@ -77,6 +76,10 @@ OBJ = proxytunnel.o \
|
|||
ntlm.o \
|
||||
ptstream.o
|
||||
|
||||
ifneq (,$(findstring -DSETPROCTITLE,$(OPTFLAGS)))
|
||||
OBJ += setproctitle.o
|
||||
endif
|
||||
|
||||
UNAME = $(shell uname)
|
||||
ifneq ($(UNAME),Darwin)
|
||||
OBJ += strlcpy.o \
|
||||
|
|
|
|||
|
|
@ -30,8 +30,10 @@ void analyze_HTTP(PTSTREAM *pts);
|
|||
void proxy_protocol(PTSTREAM *pts);
|
||||
void closeall();
|
||||
void do_daemon();
|
||||
#ifdef SETPROCTITLE
|
||||
void initsetproctitle(int argc, char *argv[]);
|
||||
void setproctitle(const char *fmt, ...);
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
/* Don't include strlcat and strlcpy since they are provided as macros on OSX */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue