projects
/
ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d5bb9f
)
extra includes for linux
author
Paul Mackerras
<paulus@samba.org>
Fri, 27 May 1994 01:01:49 +0000
(
01:01
+0000)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 27 May 1994 01:01:49 +0000
(
01:01
+0000)
pppd/lcp.c
patch
|
blob
|
history
diff --git
a/pppd/lcp.c
b/pppd/lcp.c
index 6da963161f31bc81cd0236fa80cee1e63f3e23d8..406053e52f91e6a752480f860a0ae2000f25675e 100644
(file)
--- a/
pppd/lcp.c
+++ b/
pppd/lcp.c
@@
-18,7
+18,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char rcsid[] = "$Id: lcp.c,v 1.
6 1994/05/26 06:37:1
9 paulus Exp $";
+static char rcsid[] = "$Id: lcp.c,v 1.
7 1994/05/27 01:01:4
9 paulus Exp $";
#endif
/*
#endif
/*
@@
-26,6
+26,7
@@
static char rcsid[] = "$Id: lcp.c,v 1.6 1994/05/26 06:37:19 paulus Exp $";
*/
#include <stdio.h>
*/
#include <stdio.h>
+#include <string.h>
#include <syslog.h>
#include <assert.h>
#include <sys/ioctl.h>
#include <syslog.h>
#include <assert.h>
#include <sys/ioctl.h>
@@
-34,7
+35,10
@@
static char rcsid[] = "$Id: lcp.c,v 1.6 1994/05/26 06:37:19 paulus Exp $";
#include <sys/time.h>
#include <netinet/in.h>
#include <sys/time.h>
#include <netinet/in.h>
-#include <string.h>
+#ifdef _linux_ /* Needs ppp ioctls */
+#include <net/if.h>
+#include <linux/ppp.h>
+#endif
#include "pppd.h"
#include "ppp.h"
#include "pppd.h"
#include "ppp.h"