From be131685ac34f7b453fc1d50d9b71702eb399f0e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 6 Apr 1997 20:15:49 +0000 Subject: #include stdlib.h to get malloc(3) and calloc(3) definitions. Fixes compiler warnings. --- usr.sbin/ipsend/common/ip.c | 1 + usr.sbin/ipsend/common/sbpf.c | 1 + usr.sbin/ipsend/ipresend/resend.c | 1 + usr.sbin/ipsend/ipsend/ipsend.c | 1 + usr.sbin/ipsend/iptest/iptest.c | 1 + 5 files changed, 5 insertions(+) diff --git a/usr.sbin/ipsend/common/ip.c b/usr.sbin/ipsend/common/ip.c index e05b4b9a373..9c4f8320769 100644 --- a/usr.sbin/ipsend/common/ip.c +++ b/usr.sbin/ipsend/common/ip.c @@ -12,6 +12,7 @@ static char sccsid[] = "%W% %G% (C)1995"; #endif #include #include +#include #include #include #include diff --git a/usr.sbin/ipsend/common/sbpf.c b/usr.sbin/ipsend/common/sbpf.c index b6a6d36f6c1..9bc557a1a9e 100644 --- a/usr.sbin/ipsend/common/sbpf.c +++ b/usr.sbin/ipsend/common/sbpf.c @@ -6,6 +6,7 @@ * */ #include +#include #include #include #include diff --git a/usr.sbin/ipsend/ipresend/resend.c b/usr.sbin/ipsend/ipresend/resend.c index 8d9d75574d2..6762ae6048c 100644 --- a/usr.sbin/ipsend/ipresend/resend.c +++ b/usr.sbin/ipsend/ipresend/resend.c @@ -11,6 +11,7 @@ static char sccsid[] = "@(#)resend.c 1.3 1/11/96 (C)1995 Darren Reed"; #endif #include +#include #include #include #include diff --git a/usr.sbin/ipsend/ipsend/ipsend.c b/usr.sbin/ipsend/ipsend/ipsend.c index 13e89676965..84ea17026ab 100644 --- a/usr.sbin/ipsend/ipsend/ipsend.c +++ b/usr.sbin/ipsend/ipsend/ipsend.c @@ -18,6 +18,7 @@ static char sccsid[] = "@(#)ipsend.c 1.5 12/10/95 (C)1995 Darren Reed"; #endif #include +#include #include #include #include diff --git a/usr.sbin/ipsend/iptest/iptest.c b/usr.sbin/ipsend/iptest/iptest.c index bc875881b29..baa023d6b8a 100644 --- a/usr.sbin/ipsend/iptest/iptest.c +++ b/usr.sbin/ipsend/iptest/iptest.c @@ -18,6 +18,7 @@ static char sccsid[] = "%W% %G% (C)1995 Darren Reed"; #endif #include +#include #include #include #include -- cgit v1.2.3