diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1998-05-16 18:04:00 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1998-05-16 18:04:00 +0000 |
| commit | 8ad9b1a36b23d51a616682b24533ac95bcd4ec9e (patch) | |
| tree | 772c418bf400de318cba4287d75977246c2b91fb | |
| parent | dae50f6c50d01003d74bda00c214cb1a050d6db5 (diff) | |
Notes
| -rw-r--r-- | usr.bin/netstat/unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c index 96d6fd7440b5..136a1b67de46 100644 --- a/usr.bin/netstat/unix.c +++ b/usr.bin/netstat/unix.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)unix.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: unix.c,v 1.6 1998/05/15 20:19:21 wollman Exp $"; + "$Id: unix.c,v 1.7 1998/05/16 08:31:49 ache Exp $"; #endif /* not lint */ /* @@ -55,6 +55,7 @@ static const char rcsid[] = #include <netinet/in.h> #include <errno.h> +#include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <kvm.h> @@ -131,7 +132,6 @@ unixdomainpr(xunp, so) struct unpcb *unp; struct sockaddr_un *sa; static int first = 1; -#define offsetof(s, e) ((char *)&((s *)0)->e - (char *)((s *)0)) unp = &xunp->xu_unp; if (unp->unp_addr) |
