projects
/
ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
532f6ec
)
fix up includes
author
Paul Mackerras
<paulus@samba.org>
Wed, 25 Mar 1998 03:01:10 +0000
(
03:01
+0000)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 25 Mar 1998 03:01:10 +0000
(
03:01
+0000)
pppstats/pppstats.c
patch
|
blob
|
history
diff --git
a/pppstats/pppstats.c
b/pppstats/pppstats.c
index b8784c288b9a7ca81020ca12b5d694bf189fa04d..b98b6ec189be2778faa9698c2442541331853d13 100644
(file)
--- a/
pppstats/pppstats.c
+++ b/
pppstats/pppstats.c
@@
-32,7
+32,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char rcsid[] = "$Id: pppstats.c,v 1.2
0 1998/02/04 01:42:06
paulus Exp $";
+static char rcsid[] = "$Id: pppstats.c,v 1.2
1 1998/03/25 03:01:10
paulus Exp $";
#endif
#include <stdio.h>
#endif
#include <stdio.h>
@@
-47,15
+47,22
@@
static char rcsid[] = "$Id: pppstats.c,v 1.20 1998/02/04 01:42:06 paulus Exp $";
#include <sys/param.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/ioctl.h>
-#include <net/ppp_defs.h>
#ifndef STREAMS
#include <sys/socket.h> /* *BSD, Linux, NeXT, Ultrix etc. */
#ifndef STREAMS
#include <sys/socket.h> /* *BSD, Linux, NeXT, Ultrix etc. */
+#ifndef _linux_
#include <net/if.h>
#include <net/if.h>
+#include <net/ppp_defs.h>
#include <net/if_ppp.h>
#include <net/if_ppp.h>
+#else
+#include <linux/if.h>
+#include <linux/ppp_defs.h>
+#include <linux/if_ppp.h>
+#endif /* _linux_ */
#else /* STREAMS */
#include <sys/stropts.h> /* SVR4, Solaris 2, SunOS 4, OSF/1, etc. */
#else /* STREAMS */
#include <sys/stropts.h> /* SVR4, Solaris 2, SunOS 4, OSF/1, etc. */
+#include <net/ppp_defs.h>
#include <net/pppio.h>
#endif /* STREAMS */
#include <net/pppio.h>
#endif /* STREAMS */