From: Paul Mackerras Date: Wed, 10 Mar 1999 03:07:48 +0000 (+0000) Subject: fix compile problems on OSF/1 X-Git-Tag: RELEASE_2_3_6~2 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=f0a6c417e65393d127a9f0fe0ba668ec2d2fdf3b;p=ppp.git fix compile problems on OSF/1 --- diff --git a/pppd/sys-osf.c b/pppd/sys-osf.c index 91470ae..c748720 100644 --- a/pppd/sys-osf.c +++ b/pppd/sys-osf.c @@ -26,10 +26,9 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-osf.c,v 1.16 1999/03/08 04:49:12 paulus Exp $"; +static char rcsid[] = "$Id: sys-osf.c,v 1.17 1999/03/10 03:07:48 paulus Exp $"; #endif -#define _SOCKADDR_LEN #include #include #include @@ -1517,7 +1516,8 @@ int have_route_to(u_int32_t addr) int s, n; struct rt_msghdr *rtm; struct sockaddr_in *sin; - int msglen = sizeof(*rtm) + (sizeof(*sin)) ; + int msglen = sizeof(*rtm) + (sizeof(*sin)); + char *cp; char msg[2048]; rtm = (struct rt_msghdr *)buf;