summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/print-esp.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-01-08 22:12:01 +0000
committerpeter <peter@FreeBSD.org>2003-01-08 22:12:01 +0000
commitd28b761d985faa650d3477553ea0f56ea2d95108 (patch)
tree38325c00cd170ddc0a07bb0686790c39192352a2 /contrib/tcpdump/print-esp.c
parent91fc581e384bca8ae8831d23b70ab73ab0dc1a21 (diff)
downloadFreeBSD-src-d28b761d985faa650d3477553ea0f56ea2d95108.zip
FreeBSD-src-d28b761d985faa650d3477553ea0f56ea2d95108.tar.gz
Add in a patch from tcpdump-current (that will be included in the next
import) to stop a segfault on ia64. Add a #include to get missing prototypes, particularly malloc(). Approved by: fenner
Diffstat (limited to 'contrib/tcpdump/print-esp.c')
-rw-r--r--contrib/tcpdump/print-esp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tcpdump/print-esp.c b/contrib/tcpdump/print-esp.c
index 1bdf76a..33edf8a 100644
--- a/contrib/tcpdump/print-esp.c
+++ b/contrib/tcpdump/print-esp.c
@@ -50,6 +50,7 @@ static const char rcsid[] =
#endif
#include <stdio.h>
+#include <unistd.h>
#include "ip.h"
#include "esp.h"
OpenPOWER on IntegriCloud