]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-linux.c
fixes to make it work under Ultrix
[ppp.git] / pppd / sys-linux.c
index 946380709588b11692b2cd8588c8fb6cddd4fe1c..95846db6542c682166f752538d6872c2c1042c37 100644 (file)
@@ -24,6 +24,7 @@
 #include <sys/time.h>
 #include <sys/errno.h>
 #include <sys/file.h>
+#include <sys/stat.h>
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -2371,7 +2372,7 @@ restore_loop(void)
 /*
  * Reconfigure the IP addresses for the demand dial system.
  */
-    ip_demand_conf (0);
+    (void) (ipcp_protent.demand_conf) (0);
   }
 
 /********************************************************************