Linux-kernel mailing list archive 1997-48,: Re: [2.1.69] Patch for ppp-2.2.0f

# Re: [2.1.69] Patch for ppp-2.2.0f

Trevor Johnson (trevor@jpj.net)
Tue, 2 Dec 1997 14:09:10 -0500 (EST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Brian Adams: "Re: RAID1 under 2.0.32"
- Previous message: Pekka Pietik{inen: "small fix to awe_wave.c"
- Next in thread: Michael Harnois: "Re: [2.1.69] Patch for ppp-2.2.0f"
- Reply: Michael Harnois: "Re: [2.1.69] Patch for ppp-2.2.0f"

> Does any kind soul have a simmilar patch to get ppp2.3.2 to
> compile under 2.1.69? Pretty please?

This works for me, with GNU libc. I don't know whether it'll work with
the Linux libc.
___
Trevor Johnson

diff -ru ppp-2.3.2/pppd/sys-linux.c ppp-2.3.2-glibc/pppd/sys-linux.c
--- ppp-2.3.2/pppd/sys-linux.c Sun Nov 9 02:10:17 1997
+++ ppp-2.3.2-glibc/pppd/sys-linux.c Tue Dec 2 06:56:25 1997
@@ -49,12 +49,14 @@
#define MAX_ADDR_LEN 7
#endif

+/*
#include <linux/if.h>
-#include <linux/ppp_defs.h>
-#include <linux/if_arp.h>
-#include <linux/if_ppp.h>
-#include <linux/route.h>
-#include <linux/if_ether.h>
+*/
+#include <net/ppp_defs.h>
+#include <net/if_arp.h>
+#include <net/if_ppp.h>
+#include <net/route.h>
+#include <netinet/if_ether.h>
#include <netinet/in.h>

#include "pppd.h"
@@ -2430,7 +2432,7 @@
}

-#include <linux/ipx.h>
+#include <netipx/ipx.h>

/********************************************************************
*

- Next message: Brian Adams: "Re: RAID1 under 2.0.32"
- Previous message: Pekka Pietik{inen: "small fix to awe_wave.c"
- Next in thread: Michael Harnois: "Re: [2.1.69] Patch for ppp-2.2.0f"
- Reply: Michael Harnois: "Re: [2.1.69] Patch for ppp-2.2.0f"