From cfef0c6658be29967f883997ba7139ca3bdef2ba Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 27 May 2016 18:04:25 +0100 Subject: getprogname() and setproctitle() on Linux. --- compat.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'compat.h') diff --git a/compat.h b/compat.h index e9d2f159..7f17e193 100644 --- a/compat.h +++ b/compat.h @@ -223,6 +223,16 @@ size_t strlcat(char *, const char *, size_t); int daemon(int, int); #endif +#ifndef HAVE_GETPROGNAME +/* getprogname.c */ +const char *getprogname(void); +#endif + +#ifndef HAVE_SETPROCTITLE +/* setproctitle.c */ +void setproctitle(const char *, ...); +#endif + #ifndef HAVE_B64_NTOP /* b64_ntop.c */ #undef b64_ntop /* for Cygwin */ -- cgit v1.2.3