From: Marco d'Itri Date: Wed, 25 Jan 2012 19:14:26 +0100 Subject: [PATCH] use_system_logwtmp --- pppd/sys-linux.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index b675c97..1643ac5 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -2153,6 +2153,7 @@ int ppp_available(void) * Update the wtmp file with the appropriate user name and tty device. */ +#ifndef linux void logwtmp (const char *line, const char *name, const char *host) { struct utmp ut, *utp; @@ -2221,6 +2222,7 @@ void logwtmp (const char *line, const char *name, const char *host) } #endif } +#endif /********************************************************************