diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-06-24 03:15:24 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-06-24 03:15:24 +0000 |
commit | be3de05a7c78f939275f24624ac6d6895cdf2b63 (patch) | |
tree | 8cc3fe4f41b947ca36a4ade69800851ad260e6df /sbin/route/ccitt_addr.c | |
parent | f6eb3918415010b402fae13bef7e03a874476185 (diff) |
Fix "route show" on alpha. Some parts from Theo.
Diffstat (limited to 'sbin/route/ccitt_addr.c')
-rw-r--r-- | sbin/route/ccitt_addr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/route/ccitt_addr.c b/sbin/route/ccitt_addr.c index 4d3afa8fe3e..e1c6c534a5e 100644 --- a/sbin/route/ccitt_addr.c +++ b/sbin/route/ccitt_addr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ccitt_addr.c,v 1.2 1996/06/23 14:32:21 deraadt Exp $ */ +/* $OpenBSD: ccitt_addr.c,v 1.3 1997/06/24 03:15:22 millert Exp $ */ /* $NetBSD: ccitt_addr.c,v 1.8 1995/04/23 10:33:41 cgd Exp $ */ /* @@ -53,12 +53,15 @@ * Copyright (c) 1984 */ +#include <stdlib.h> +#include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netccitt/x25.h> static char *copychar (); +int ccitt_addr (addr, xp) char *addr; register struct sockaddr_x25 *xp; |