]> git.ozlabs.org Git - ppp.git/commitdiff
fix compile problems on OSF/1
authorPaul Mackerras <paulus@samba.org>
Wed, 10 Mar 1999 03:07:48 +0000 (03:07 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 10 Mar 1999 03:07:48 +0000 (03:07 +0000)
pppd/sys-osf.c

index 91470ae144bf939b35a064083d1ddb263c266325..c748720264b71f0a7ab5d849515db4f3dd3a137a 100644 (file)
  */
 
 #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 <stdio.h>
 #include <stddef.h>
 #include <stdlib.h>
@@ -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;