diff options
author | James Carlson <carlsonj@workingcode.com> | 2004-01-17 05:47:55 +0000 |
---|---|---|
committer | James Carlson <carlsonj@workingcode.com> | 2004-01-17 05:47:55 +0000 |
commit | a75742c5e72fa5718e57d77586887d58755feebe (patch) | |
tree | 7de758269e3b87001fab4d807a2c9cc36804ee5f /modules | |
parent | 3f5640f901a83dd41367b8cdeeaa90222f3c967a (diff) | |
download | ppp-a75742c5e72fa5718e57d77586887d58755feebe.tar.gz |
Fixed compilation failure on Solaris due to new CHAP (missing chap-md5.o
in makefile).
Updated ppp_mod so that it will work with Solaris 10 and beyond
(identify entry point is now obsolete).
Fixed warnings in chat, bsd-comp, deflate, vjcompress, chap-new,
sys-solaris, tty, pppdump, ppp_comp.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/bsd-comp.c | 6 | ||||
-rw-r--r-- | modules/deflate.c | 6 | ||||
-rw-r--r-- | modules/vjcompress.c | 6 |
3 files changed, 15 insertions, 3 deletions
diff --git a/modules/bsd-comp.c b/modules/bsd-comp.c index ed88b28..9d2b12e 100644 --- a/modules/bsd-comp.c +++ b/modules/bsd-comp.c @@ -41,7 +41,7 @@ * This version is for use with STREAMS under SunOS 4.x, * Digital UNIX, AIX 4.x, and SVR4 systems including Solaris 2. * - * $Id: bsd-comp.c,v 1.20 1996/08/28 06:31:57 paulus Exp $ + * $Id: bsd-comp.c,v 1.21 2004/01/17 05:47:55 carlsonj Exp $ */ #ifdef AIX4 @@ -66,6 +66,10 @@ #define BSD_LITTLE_ENDIAN #endif +#ifdef SOL2 +#include <sys/sunddi.h> +#endif + #define PACKETPTR mblk_t * #include <net/ppp-comp.h> diff --git a/modules/deflate.c b/modules/deflate.c index 194b4ef..c896846 100644 --- a/modules/deflate.c +++ b/modules/deflate.c @@ -35,7 +35,7 @@ * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: deflate.c,v 1.11 2002/12/06 09:49:15 paulus Exp $ + * $Id: deflate.c,v 1.12 2004/01/17 05:47:55 carlsonj Exp $ */ #ifdef AIX4 @@ -56,6 +56,10 @@ #include "../common/zlib.h" #endif +#ifdef SOL2 +#include <sys/sunddi.h> +#endif + #if DO_DEFLATE #define DEFLATE_DEBUG 1 diff --git a/modules/vjcompress.c b/modules/vjcompress.c index 245ed4c..0b17083 100644 --- a/modules/vjcompress.c +++ b/modules/vjcompress.c @@ -29,7 +29,7 @@ * This version is used under SunOS 4.x, Digital UNIX, AIX 4.x, * and SVR4 systems including Solaris 2. * - * $Id: vjcompress.c,v 1.10 1999/09/15 23:49:06 masputra Exp $ + * $Id: vjcompress.c,v 1.11 2004/01/17 05:47:55 carlsonj Exp $ */ #include <sys/types.h> @@ -56,6 +56,10 @@ typedef u_long n_long; #include <netinet/in_systm.h> #endif +#ifdef SOL2 +#include <sys/sunddi.h> +#endif + #include <netinet/ip.h> #include <netinet/tcp.h> |