X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-linux.c;h=72a7727c403f79762a93bf1342e3b02aa869c27a;hb=8edb889b753056a691a3e4b217a110a35f9fdedb;hp=2540c4fba29e38ce72120c4d316f369916e421c6;hpb=c44ae5e6a7338c96eb463881fe709b2dfaffe568;p=ppp.git diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 2540c4f..72a7727 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -2147,6 +2147,7 @@ int ppp_available(void) return ok; } +#ifndef HAVE_LOGWTMP /******************************************************************** * * Update the wtmp file with the appropriate user name and tty device. @@ -2220,7 +2221,7 @@ void logwtmp (const char *line, const char *name, const char *host) } #endif } - +#endif /* HAVE_LOGWTMP */ /******************************************************************** *