Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/tcpdump Since this uses memcpy(), we need to pull i...



details:   https://anonhg.NetBSD.org/src/rev/c9a27cf38c0c
branches:  trunk
changeset: 473999:c9a27cf38c0c
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Fri Jun 25 03:22:35 1999 +0000

description:
Since this uses memcpy(), we need to pull in string.h to make this compile
on the alpha. Now confirmed working on that platform.

diffstat:

 usr.sbin/tcpdump/print-udp.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e19e159c1b6c -r c9a27cf38c0c usr.sbin/tcpdump/print-udp.c
--- a/usr.sbin/tcpdump/print-udp.c      Fri Jun 25 03:08:02 1999 +0000
+++ b/usr.sbin/tcpdump/print-udp.c      Fri Jun 25 03:22:35 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-udp.c,v 1.9 1999/06/25 03:08:02 sommerfeld Exp $ */
+/*     $NetBSD: print-udp.c,v 1.10 1999/06/25 03:22:35 nathanw Exp $   */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -27,7 +27,7 @@
 static const char rcsid[] =
     "@(#) Header: print-udp.c,v 1.60 97/07/27 21:58:48 leres Exp  (LBL)";
 #else
-__RCSID("$NetBSD: print-udp.c,v 1.9 1999/06/25 03:08:02 sommerfeld Exp $");
+__RCSID("$NetBSD: print-udp.c,v 1.10 1999/06/25 03:22:35 nathanw Exp $");
 #endif
 #endif
 
@@ -57,6 +57,7 @@
 #include <rpc/rpc.h>
 
 #include <stdio.h>
+#include <string.h>
 
 #include "interface.h"
 #include "addrtoname.h"



Home | Main Index | Thread Index | Old Index