]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-linux.c
pppd: Arrange to use logwtmp from libutil on Linux
[ppp.git] / pppd / sys-linux.c
index 2540c4fba29e38ce72120c4d316f369916e421c6..72a7727c403f79762a93bf1342e3b02aa869c27a 100644 (file)
@@ -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 */
 
 /********************************************************************
  *