summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/mbuf.c5
-rw-r--r--usr.bin/oldrdist/main.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c
index 1b091dae037..1257dbb622c 100644
--- a/usr.bin/netstat/mbuf.c
+++ b/usr.bin/netstat/mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.c,v 1.13 2002/06/09 05:09:09 angelos Exp $ */
+/* $OpenBSD: mbuf.c,v 1.14 2002/06/18 23:49:15 deraadt Exp $ */
/* $NetBSD: mbuf.c,v 1.9 1996/05/07 02:55:03 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)mbuf.c 8.1 (Berkeley) 6/6/93";
#else
-static char *rcsid = "$OpenBSD: mbuf.c,v 1.13 2002/06/09 05:09:09 angelos Exp $";
+static char *rcsid = "$OpenBSD: mbuf.c,v 1.14 2002/06/18 23:49:15 deraadt Exp $";
#endif
#endif /* not lint */
@@ -53,6 +53,7 @@ static char *rcsid = "$OpenBSD: mbuf.c,v 1.13 2002/06/09 05:09:09 angelos Exp $"
#include <kvm.h>
#include <limits.h>
#include <stdio.h>
+#include <string.h>
#include "netstat.h"
#define YES 1
diff --git a/usr.bin/oldrdist/main.c b/usr.bin/oldrdist/main.c
index f3191e523d0..3b5ab80c8a3 100644
--- a/usr.bin/oldrdist/main.c
+++ b/usr.bin/oldrdist/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.14 2002/06/12 06:07:16 mpech Exp $ */
+/* $OpenBSD: main.c,v 1.15 2002/06/18 23:49:15 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -41,10 +41,11 @@ static char copyright[] =
#ifndef lint
/* from: static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/9/93"; */
-static char *rcsid = "$OpenBSD: main.c,v 1.14 2002/06/12 06:07:16 mpech Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.15 2002/06/18 23:49:15 deraadt Exp $";
#endif /* not lint */
#include <stdarg.h>
+#include <libgen.h>
#include "defs.h"
#define NHOSTS 100