diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-06 20:15:49 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-06 20:15:49 +0000 |
commit | be131685ac34f7b453fc1d50d9b71702eb399f0e (patch) | |
tree | 3fdf993d3c03e99821a20ef02d9ed9ea337aa5da | |
parent | 3c7e2f2acecb363810b488014f9f3df2c10b80b4 (diff) |
#include stdlib.h to get malloc(3) and calloc(3) definitions.
Fixes compiler warnings.
-rw-r--r-- | usr.sbin/ipsend/common/ip.c | 1 | ||||
-rw-r--r-- | usr.sbin/ipsend/common/sbpf.c | 1 | ||||
-rw-r--r-- | usr.sbin/ipsend/ipresend/resend.c | 1 | ||||
-rw-r--r-- | usr.sbin/ipsend/ipsend/ipsend.c | 1 | ||||
-rw-r--r-- | usr.sbin/ipsend/iptest/iptest.c | 1 |
5 files changed, 5 insertions, 0 deletions
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 <errno.h> #include <stdio.h> +#include <stdlib.h> #include <sys/types.h> #include <netinet/in_systm.h> #include <sys/socket.h> 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 <stdio.h> +#include <stdlib.h> #include <netdb.h> #include <ctype.h> #include <signal.h> 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 <stdio.h> +#include <stdlib.h> #include <netdb.h> #include <string.h> #include <sys/types.h> 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 <stdio.h> +#include <stdlib.h> #include <netdb.h> #include <string.h> #include <sys/types.h> 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 <stdio.h> +#include <stdlib.h> #include <netdb.h> #include <string.h> #include <sys/types.h> |